Revision 9280be24dc9c7aaee230de3ed33f8357386de9a2 authored by Yan, Zheng on 14 October 2014, 02:33:35 UTC, committed by Ilya Dryomov on 17 December 2014, 17:09:49 UTC
When a lock operation is interrupted, current code sends a unlock request to MDS to undo the lock operation. This method does not work as expected because the unlock request can drop locks that have already been acquired. The fix is use the newly introduced CEPH_LOCK_FCNTL_INTR/CEPH_LOCK_FLOCK_INTR requests to interrupt blocked file lock request. These requests do not drop locks that have alread been acquired, they only interrupt blocked file lock request. Signed-off-by: Yan, Zheng <zyan@redhat.com>
1 parent b2776bf
fdt.c
#include <linux/libfdt_env.h>
#include "../scripts/dtc/libfdt/fdt.c"
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...