Whamcloud - gitweb
LU-15873 osp: don't sync on RO device 97/48097/9
authorWang Shilong <wshilong@ddn.com>
Thu, 3 Jun 2021 02:39:35 +0000 (10:39 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 20 Jun 2023 03:37:22 +0000 (03:37 +0000)
commit0f87513bcacc174efc29937fd0cc08f8a648a43e
tree11c3c1bcfabe1bc29f9fad625a251cc53e63aff2
parent83189aef3b23f18cb8c1deae34994a00f8582039
LU-15873 osp: don't sync on RO device

If lower layer device is mounted as RO, call syncing
will trigger warning of transaction start.

Change-Id: I31be379932f145093285cd87de1fc35a1b5cc305
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Li Xi <lixi@ddn.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/48097
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/osp/osp_dev.c