Whamcloud - gitweb
LU-13101 llite: eviction during ll_open_cleanup() 96/37096/2
authorAndriy Skulysh <c17819@cray.com>
Mon, 28 Oct 2019 19:42:42 +0000 (21:42 +0200)
committerOleg Drokin <green@whamcloud.com>
Tue, 28 Jan 2020 06:02:22 +0000 (06:02 +0000)
commit6d5d7c6bdb4f19f9db485a774d9259d452cf220e
treeb02ca5300e01802c0498f60c1bc66ff6f1031402
parent68330379b01cb6bf9b24235a80a4666d24c0e343
LU-13101 llite: eviction during ll_open_cleanup()

On error ll_open_cleanup()┬áis called while
intent lock remains pinned. So eviction can
happen while close request waits for a mod rpc slot.

Release intent lock before ll_open_cleanup()

Change-Id: Ia422351f3f54fc652078f742f2ead0bf278c9d17
Cray-bug-id: LUS-8055
Signed-off-by: Andriy Skulysh <c17819@cray.com>
Reviewed-by: Alexander Boyko <c17825@cray.com>
Reviewed-by: Andrew Perepechko <c17827@cray.com>
Reviewed-by: Vitaly Fertman <c17818@cray.com>
Reviewed-on: https://review.whamcloud.com/37096
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Alexandr Boyko <c17825@cray.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/llite_lib.c
lustre/llite/namei.c