ceph: address space operations
authorSage Weil <sage@newdream.net>
Tue, 6 Oct 2009 18:31:09 +0000 (11:31 -0700)
committerSage Weil <sage@newdream.net>
Tue, 6 Oct 2009 18:31:09 +0000 (11:31 -0700)
commit1d3576fd10f0d7a104204267b81cf84a07028dad
tree4567d205f28255ca7211b82c962ad42fd55e733b
parent124e68e74099090e28da5518f73fda878e7e8232
ceph: address space operations

The ceph address space methods are concerned primarily with managing
the dirty page accounting in the inode, which (among other things)
must keep track of which snapshot context each page was dirtied in,
and ensure that dirty data is written out to the OSDs in snapshort
order.

A writepage() on a page that is not currently writeable due to
snapshot writeback ordering constraints is ignored (it was presumably
called from kswapd).

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/addr.c [new file with mode: 0644]