Whamcloud - gitweb
LU-14895 client: allow case-insensitive checksum types 30/44530/4
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 30 Jul 2021 21:36:19 +0000 (15:36 -0600)
committerOleg Drokin <green@whamcloud.com>
Sun, 10 Oct 2021 03:31:25 +0000 (03:31 +0000)
commit1cf7a8d46ca7a5b446e4f579c82f5f643f4c8650
tree23070e5fdf1dc9b358d7c3afc0394ad4060b7f23
parentc807e3f33b39409a061fa997cac57ac394c503ba
LU-14895 client: allow case-insensitive checksum types

The current t10ip4K and t10crc4K checksum types use an upper-case 'K'
in the name, unlike the other checksum types which are all lower-case.
This is distinction is difficult to see in some fonts, and can cause
usage errors.  Accept upper-case variants of the checksum type names.

Test-Parameters: trivial
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I97673ffa98cf8e5fc601ac7df5aaafb24b3ebbe5
Reviewed-on: https://review.whamcloud.com/44530
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Li Dongyang <dongyangli@ddn.com>
Reviewed-by: Etienne AUJAMES <eaujames@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdc/lproc_mdc.c
lustre/osc/lproc_osc.c