diff options
author | Sage Weil <sage@newdream.net> | 2011-07-26 11:27:34 -0700 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2011-07-26 11:27:34 -0700 |
commit | d8de9ab63a57326d21154c13c365f949f53ce8e1 (patch) | |
tree | 283aac6bf2cc91a772d9cc04c97f46f60267e4c5 /kernel/posix-cpu-timers.c | |
parent | 4cf9d544631c92809cb94ea680c71df56e9437aa (diff) |
ceph: avoid carrying Fw cap during write into page cache
The generic_file_aio_write call may block on balance_dirty_pages while we
flush data to the OSDs. If we hold a reference to the FILE_WR cap during
that interval revocation by the MDS (e.g., to do a stat(2)) may be very
slow.
Reviewed-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'kernel/posix-cpu-timers.c')
0 files changed, 0 insertions, 0 deletions