Whamcloud - gitweb
LU-5814 llite: add cl_object_maxbytes()
[fs/lustre-release.git] / lustre / include / obd.h
index 1435b13..71f1662 100644 (file)
@@ -96,7 +96,7 @@ struct lov_stripe_md {
 
        /* maximum possible file size, might change as OSTs status changes,
         * e.g. disconnected, deactivated */
-       __u64           lsm_maxbytes;
+       loff_t          lsm_maxbytes;
        struct ost_id   lsm_oi;
        __u32           lsm_magic;
        __u32           lsm_stripe_size;
@@ -815,6 +815,14 @@ static inline int it_to_lock_mode(struct lookup_intent *it)
        return -EINVAL;
 }
 
+enum md_op_flags {
+       MF_MDC_CANCEL_FID1      = 1 << 0,
+       MF_MDC_CANCEL_FID2      = 1 << 1,
+       MF_MDC_CANCEL_FID3      = 1 << 2,
+       MF_MDC_CANCEL_FID4      = 1 << 3,
+       MF_GET_MDT_IDX          = 1 << 4,
+};
+
 enum md_cli_flags {
        CLI_SET_MEA     = 1 << 0,
        CLI_RM_ENTRY    = 1 << 1,
@@ -899,9 +907,7 @@ struct obd_ops {
        int (*o_iocontrol)(unsigned int cmd, struct obd_export *exp, int len,
                           void *karg, void __user *uarg);
        int (*o_get_info)(const struct lu_env *env, struct obd_export *,
-                         __u32 keylen, void *key,
-                         __u32 *vallen, void *val,
-                         struct lov_stripe_md *lsm);
+                         __u32 keylen, void *key, __u32 *vallen, void *val);
        int (*o_set_info_async)(const struct lu_env *, struct obd_export *,
                                __u32 keylen, void *key,
                                __u32 vallen, void *val,