commit | d8de9ab63a57326d21154c13c365f949f53ce8e1 | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Tue Jul 26 11:27:34 2011 -0700 |
committer | Sage Weil <sage@newdream.net> | Tue Jul 26 11:27:34 2011 -0700 |
tree | 283aac6bf2cc91a772d9cc04c97f46f60267e4c5 | |
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>