diff options
author | 2013-07-21 20:25:26 +0800 | |
---|---|---|
committer | 2013-08-09 17:54:33 -0700 | |
commit | 85ce127a9adf5ab9e9d57ddf64c858927d5e546d (patch) | |
tree | 81d6d0bc74477cfafa5e249a7d96dee558f3a428 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ceph: drop CAP_LINK_SHARED when sending "link" request to MDS (diff) | |
download | linux-dev-85ce127a9adf5ab9e9d57ddf64c858927d5e546d.tar.xz linux-dev-85ce127a9adf5ab9e9d57ddf64c858927d5e546d.zip |
ceph: wake up writer if vmtruncate work get blocked
To write data, the writer first acquires the i_mutex, then try getting
caps. The writer may sleep while holding the i_mutex. If the MDS revokes
Fb cap in this case, vmtruncate work can't do its job because i_mutex
is locked. We should wake up the writer and let it truncate the pages.
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions