Whamcloud - gitweb
LU-14912 obdclass: prefer T10 checksum if the target supports it 57/44657/2
authorLi Dongyang <dongyangli@ddn.com>
Fri, 13 Aug 2021 08:58:46 +0000 (18:58 +1000)
committerOleg Drokin <green@whamcloud.com>
Wed, 25 Aug 2021 06:23:47 +0000 (06:23 +0000)
commit5e9059e08aec6fb36de6788465978de0e962b956
treeae31877546a0674597c0bc7edcaf12fc73194b4e
parente4f3f47f04c762770bc36c1e3fa7e92e94a36704
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.

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