Whamcloud - gitweb
LU-10472 osc: add T10PI support for RPC checksum
[fs/lustre-release.git] / lustre / ofd / ofd_internal.h
index 24a04b5..19e4b33 100644 (file)
@@ -147,7 +147,9 @@ struct ofd_device {
                                 ofd_lastid_rebuilding:1,
                                 ofd_record_fid_accessed:1,
                                 ofd_lfsck_verify_pfid:1,
-                                ofd_skip_lfsck:1;
+                                ofd_skip_lfsck:1,
+                                /* Whether to enforce T10PI checksum of RPC */
+                                ofd_checksum_t10pi_enforce:1;
        struct seq_server_site   ofd_seq_site;
        /* the limit of SOFT_SYNC RPCs that will trigger a soft sync */
        unsigned int             ofd_soft_sync_limit;