Whamcloud - gitweb
LU-15268 mdt: reveal the real intent close error code
authorBobi Jam <bobijam@whamcloud.com>
Thu, 13 Jan 2022 09:08:47 +0000 (17:08 +0800)
committerJohn L. Hammond <jhammond@whamcloud.com>
Fri, 21 Jan 2022 22:12:49 +0000 (22:12 +0000)
commit0f71b4410051b9388ca3ac7a798a485c2b565a83
treead688a0998468400cdb2787008d427fe6d3ffdd8
parentd389d3f4c4e6a4ee04f074daaff273592f4c56ee
LU-15268 mdt: reveal the real intent close error code

mdt_mfd_close() clobbers the intent close error so that user space
tool only knows that the close intent hasn't finished and reports
-EBUSY instead of the real error code.

Lustre-change: https://review.whamcloud.com/45636
Lustre-commit: TBD (from dc6dee1f5683ac91d637533b4c220617f62e60d2)

Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: I72f474a73e8b73cdc35ca38eaaec5af182f63ca7
Reviewed-on: https://review.whamcloud.com/46092
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
lustre/mdt/mdt_open.c
lustre/tests/sanity-flr.sh