Whamcloud - gitweb
LU-13296 obd: make statfs cache working again 53/37753/3
authorAlexey Lyashkov <c17817@cray.com>
Thu, 27 Feb 2020 14:48:48 +0000 (17:48 +0300)
committerOleg Drokin <green@whamcloud.com>
Thu, 5 Mar 2020 22:35:09 +0000 (22:35 +0000)
commit7281635521a823548d497bce2f19acfa3318dfe9
tree186614618af51ab3f2d2902a18154c0ad04f3bbe
parentbbaef062a9d158ee5a11d470d3c5e56ff1e4a55e
LU-13296 obd: make statfs cache working again

Once statfs raced on mutex, lets read a cached data instead
of trash.

Test-Parameters: testlist=sanity envdefinitions=ONLY=423,ONLY_REPEAT=500
Fixes: 1c41a6ac390b ("LU-12368 obdclass: don't send multiple statfs RPCs")
Signed-off-by: Alexey Lyashkov <c17817@cray.com>
Change-Id: I268782875c30c078f239c194f69cdf7506d66169
Reviewed-on: https://review.whamcloud.com/37753
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
lustre/include/obd_class.h
lustre/tests/sanity.sh