* See the file COPYING in this distribution
*/
+/* lov_obd.c */
int lov_get_stripecnt(struct lov_obd *lov, int stripe_count);
int lov_alloc_memmd(struct lov_stripe_md **lsmp, int stripe_count);
void lov_free_memmd(struct lov_stripe_md **lsmp);
+
+/* lov_pack.c */
+int lov_packmd(struct lustre_handle *conn, struct lov_mds_md **lmm,
+ struct lov_stripe_md *lsm);
+int lov_unpackmd(struct lustre_handle *conn, struct lov_stripe_md **lsm,
+ struct lov_mds_md *lmm, int lmmsize);
+int lov_setstripe(struct lustre_handle *conn,
+ struct lov_stripe_md **lsmp, struct lov_mds_md *lmmu);
+int lov_getstripe(struct lustre_handle *conn,
+ struct lov_stripe_md *lsm, struct lov_mds_md *lmmu);
+
+/* lproc_lov.c */
+extern struct file_operations lov_proc_target_fops;
}
if (time_after(jiffies, lnb->start + 15 * HZ))
- CERROR("slow commitrw %lus\n",
- (jiffies - lnb->start) / HZ);
+ CERROR("slow commitrw %lusi (%lus)\n",
+ (jiffies - lnb->start) / HZ,
+ (jiffies - now) / HZ);
if (cmd & OBD_BRW_WRITE) {
int err = filter_commit_write(lnb, 0);
f_dput(lnb->dentry);
if (time_after(jiffies, lnb->start + 15 * HZ))
- CERROR("slow commit_write %lus\n",
- (jiffies - lnb->start) / HZ);
+ CERROR("slow commit_write %lus (%lus)\n",
+ (jiffies - lnb->start) / HZ,
+ (jiffies - now) / HZ);
}
/* FIXME: MULTI OBJECT BRW */
continue;
if (time_after(jiffies, lnb->start + 15 * HZ))
- CERROR("slow commitrw locked %lus\n",
- (jiffies - lnb->start) / HZ);
+ CERROR("slow commitrw locked %lus (%lus)\n",
+ (jiffies - lnb->start) / HZ,
+ (jiffies - now) / HZ);
err = filter_write_locked_page(lnb);
if (!rc)
found_locked--;
if (time_after(jiffies, lnb->start + 15 * HZ))
- CERROR("slow commit_write locked %lus\n",
- (jiffies - lnb->start) / HZ);
+ CERROR("slow commit_write locked %lus (%lus)\n",
+ (jiffies - lnb->start) / HZ,
+ (jiffies - now) / HZ);
}
}