Whamcloud - gitweb
LU-6202 obd: replace OBD_IOC_NO_TRANSNO with sysfs file 93/35993/22
authorJames Simmons <jsimmons@infradead.org>
Wed, 25 Mar 2020 11:57:40 +0000 (07:57 -0400)
committerOleg Drokin <green@whamcloud.com>
Thu, 9 Apr 2020 06:27:52 +0000 (06:27 +0000)
commit6706bfa81998c999012909e4cfcd1d3dbc347075
tree48804f085de113dcbfdf44384fbeb6c5b37bad01
parent742897a967cff5be53c447d14b17ae405c2b31f2
LU-6202 obd: replace OBD_IOC_NO_TRANSNO with sysfs file

We can replace the ioctl OBD_IOC_NO_TRANSNO, which is server side
only, with a sysfs file. The original ioctl set an internal obd
device flags to simulate transactions not reaching the disk. The
new write only sysfs file behaves the exact same way.

Change-Id: Ie78feec61fab46a1982bd5caca3e89613356d2e8
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/35993
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/obd.h
lustre/include/uapi/linux/lustre/lustre_ioctl.h
lustre/obdclass/class_obd.c
lustre/obdclass/obd_config.c
lustre/obdclass/obd_sysfs.c
lustre/utils/lctl.c
lustre/utils/obd.c