diff options
author | wang di <[email protected]> | 2016-12-02 19:53:10 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2016-12-06 10:47:55 +0100 |
commit | f8e9463889ebfda1f3ff45586e5e08a096f3b97e (patch) | |
tree | c5c7c3da530022efdd34548eec157e70788160c4 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ea1fb96b650ddf9f3362b2bc79f527912c5b132e (diff) |
staging: lustre: mdt: race between open and migrate
During intent open, it was found that if the parent has
been migrated to another MDT, it should retry the open
request with the new object, so it needs to keep the
old object in the orphan list, which will be cleanup
during next recovery. Note: if the client still using
the old FID after next recovery, it will return -ENOENT
for the application. Also enqueue the lease lock of
the migrating file, then compare the lease before
migration to make sure no other clients open the file
at the same time.
Signed-off-by: wang di <[email protected]>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6475
Reviewed-on: http://review.whamcloud.com/14497
Reviewed-by: James Simmons <[email protected]>
Reviewed-by: Andreas Dilger <[email protected]>
Reviewed-by: Oleg Drokin <[email protected]>
Signed-off-by: James Simmons <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions