]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
ceph: address space operations
authorSage Weil <sage@newdream.net>
Tue, 22 Sep 2009 17:14:34 +0000 (10:14 -0700)
committerSage Weil <sage@newdream.net>
Tue, 22 Sep 2009 17:14:34 +0000 (10:14 -0700)
commita5c13e19c72c4ff002d7cd2fd6c48e6ddf6164f1
treed376d5e538e7c2f935ae041f2f03f00e6f68d70f
parentd70979d0e031ad8f0baa48a81fceca8c2ac7c932
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]