From: Sage Weil Date: Tue, 6 Oct 2009 18:31:08 +0000 (-0700) Subject: ceph: file operations X-Git-Tag: v2.6.34-rc2~9^2~197 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=124e68e74099090e28da5518f73fda878e7e8232;p=pandora-kernel.git ceph: file operations File open and close operations, and read and write methods that ensure we have obtained the proper capabilities from the MDS cluster before performing IO on a file. We take references on held capabilities for the duration of the read/write to avoid prematurely releasing them back to the MDS. We implement two main paths for read and write: one that is buffered (and uses generic_aio_{read,write}), and one that is fully synchronous and blocking (operating either on a __user pointer or, if O_DIRECT, directly on user pages). Signed-off-by: Sage Weil --- Reading git-diff-tree failed