Whamcloud - gitweb
Implement async OSC create to avoid the blocking unnecessarily.
[fs/lustre-release.git] / lustre / include / obd.h
index 56d8918..9446c16 100644 (file)
@@ -1066,6 +1066,7 @@ struct obd_ops {
         int (*o_preallocate)(struct lustre_handle *, obd_count *req,
                              obd_id *ids);
         /* FIXME: add fid capability support for create & destroy! */
+        int (*o_precreate)(struct obd_export *exp, int need_create);
         int (*o_create)(struct obd_export *exp,  struct obdo *oa,
                         struct lov_stripe_md **ea, struct obd_trans_info *oti);
         int (*o_destroy)(struct obd_export *exp, struct obdo *oa,