Whamcloud - gitweb
LU-9091 procfs: remove old string parsing routines 75/37275/4
authorAndreas Dilger <adilger@whamcloud.com>
Tue, 24 Mar 2020 13:57:39 +0000 (09:57 -0400)
committerOleg Drokin <green@whamcloud.com>
Tue, 31 Mar 2020 07:00:27 +0000 (07:00 +0000)
commit48242f98c3add59d9e084d73057e64265230a19f
tree71cc7865c18ead4137a14f3f81750478c21e0b4e
parentbcdb4a285f33f83ca51ec0eb6945ef95a3164f7a
LU-9091 procfs: remove old string parsing routines

Remove the llprocfs_str_with_units_to_s64(), lu_str_to_s64(),
llprocfs_str_with_units_to_u64(), and lu_str_to_u64() functions.
All new code should use sysfs_memparse() to parse sizes from
userspace.

Mark patch forbuildonly so that it does not land before we have
a chance to remove any patches with users of these functions.

Test-Parameters: trivial
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I6dc321e60eb587ef25652f4b5ae8fa478d3ebbe5
Reviewed-on: https://review.whamcloud.com/37275
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lprocfs_status.h
lustre/obdclass/lprocfs_status.c