]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
ceph: address space operations
authorSage Weil <sage@newdream.net>
Wed, 22 Jul 2009 19:38:18 +0000 (12:38 -0700)
committerSage Weil <sage@newdream.net>
Wed, 22 Jul 2009 19:38:18 +0000 (12:38 -0700)
commit42ec8a34d2786708ea843df86f867f25861962fe
treebc3878638c98afb5d6e2fe2ed6e39f13815c9a9b
parent19feecac9090c3f941135470e692bd65bc179654
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]