From: Sage Weil Date: Tue, 26 Jul 2011 18:27:34 +0000 (-0700) Subject: ceph: avoid carrying Fw cap during write into page cache X-Git-Tag: v3.1-rc1~220^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8de9ab63a57326d21154c13c365f949f53ce8e1;p=pandora-kernel.git 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 Signed-off-by: Sage Weil --- Reading git-diff-tree failed