Whamcloud - gitweb
LU-11925 hsm: attributes aren't updated after RESTORE 82/35082/2
authorAndriy Skulysh <c17819@cray.com>
Wed, 30 Jan 2019 09:33:49 +0000 (11:33 +0200)
committerOleg Drokin <green@whamcloud.com>
Thu, 20 Jun 2019 03:56:20 +0000 (03:56 +0000)
commit153299172586c9630ea3c3c22004525dbc18d6cd
tree2259144c00fd290d06bcfb2688240587771caeac
parent8c67c977444885abf863b656fb66721ac4515f49
LU-11925 hsm: attributes aren't updated after RESTORE

MDS returns file size to a client with UPDATE lock
while file is RELEASED. It isn't cancelled after RESTORE
and the client has old file size after appending data.

Flush update lock after RESTORE completed.

Lustre-change: https://review.whamcloud.com/34180
Lustre-commit: 63493381b3a1a1ebd5293df69403ee2ff8b0440e

Change-Id: Ib956dbd075691ce5fac1ce552df9519f9fa768e4
Cray-bug-id: LUS-6945
Signed-off-by: Andriy Skulysh <c17819@cray.com>
Reviewed-by: Ben Evans <bevans@cray.com>
Reviewed-by: Sergey Cheremencev <c17829@cray.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/35082
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdt/mdt_coordinator.c
lustre/tests/sanity-hsm.sh