diff options
author | Sage Weil <sage@newdream.net> | 2009-10-06 11:31:08 -0700 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2009-10-06 11:31:08 -0700 |
commit | 124e68e74099090e28da5518f73fda878e7e8232 (patch) | |
tree | 392c4861271b7c5ea1049832828c42a4c6ec9916 /fs/devpts | |
parent | 2817b000b02c5f0c05af67c01fb2684e1381d6ef (diff) |
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 <sage@newdream.net>
Diffstat (limited to 'fs/devpts')
0 files changed, 0 insertions, 0 deletions