]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ceph: perform lazy writes when file mode and caps permit
authorSage Weil <sage@newdream.net>
Wed, 26 May 2010 21:31:27 +0000 (14:31 -0700)
committerSage Weil <sage@newdream.net>
Mon, 2 Aug 2010 03:11:39 +0000 (20:11 -0700)
commit33caad324b88f75f42d836735d86feaafb3b40cf
tree57e50ce5bdc181ea296191784c4d57999c51207e
parent8c6e9229fc1989cf263a6fcd4ff406d7f473f966
ceph: perform lazy writes when file mode and caps permit

If we have marked a file as "lazy" (using the ceph ioctl), perform buffered
writes when the MDS caps allow it.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/caps.c
fs/ceph/file.c