Whamcloud - gitweb
LU-14912 obdclass: prefer T10 checksum if the target supports it
authorLi Dongyang <dongyangli@ddn.com>
Fri, 13 Aug 2021 08:58:46 +0000 (18:58 +1000)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 31 Mar 2022 04:17:09 +0000 (04:17 +0000)
commitb6319622ea0aa52bc85564775392f296fc40528a
treefbe64630e21b281a917b7d98f2d725376ff0f1fd
parent9138996071bd17bfdfb98c1b2c544e6d75614f49
LU-14912 obdclass: prefer T10 checksum if the target supports it

If the target actually has T10PI support, we prefer to use that
T10 checksum even it's not the fastest on the client, given
checksum_type is not explicitly set.

Lustre-change: https://review.whamcloud.com/44657
Lustre-commit: 5e9059e08aec6fb36de6788465978de0e962b956

Change-Id: If91217881fcadbc84d1e360e65648344f5ac2447
Test-Parameters: trivial
Signed-off-by: Li Dongyang <dongyangli@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Li Xi <lixi@ddn.com>
Reviewed-on: https://review.whamcloud.com/46927
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
lustre/include/obd_cksum.h