linux/fs/ceph
Sage Weil afcdaea3f2 ceph: flush dirty caps via the cap_dirty list
Previously we were flushing dirty caps by passing an extra flag
when traversing the delayed caps list.  Besides being a bit ugly,
that can also miss caps that are dirty but didn't result in a
cap requeue: notably, mark_caps_dirty().

Separate the flushing into a separate helper, and traverse the
cap_dirty list.

This also brings i_dirty_item in line with i_dirty_caps: we are
on the list IFF caps != 0.  We carry an inode ref IFF
dirty_caps|flushing_caps != 0.

Lose the unused return value from __ceph_mark_caps_dirty().

Signed-off-by: Sage Weil <sage@newdream.net>
2009-10-15 18:14:35 -07:00
..
crush ceph: gracefully avoid empty crush buckets 2009-10-07 10:59:34 -07:00
addr.c ceph: address space operations 2009-10-06 11:31:09 -07:00
buffer.c ceph: ref counted buffer 2009-10-06 11:31:07 -07:00
buffer.h ceph: ref counted buffer 2009-10-06 11:31:07 -07:00
caps.c ceph: flush dirty caps via the cap_dirty list 2009-10-15 18:14:35 -07:00
ceph_debug.h ceph: client types 2009-10-06 11:31:07 -07:00
ceph_frag.c ceph: client types 2009-10-06 11:31:07 -07:00
ceph_frag.h ceph: client types 2009-10-06 11:31:07 -07:00
ceph_fs.c ceph: add file layout validation 2009-10-09 16:39:30 -07:00
ceph_fs.h ceph: remove unused CEPH_MSG_{OSD,MDS}_GETMAP 2009-10-12 10:29:44 -07:00
ceph_strings.c ceph: on-wire types 2009-10-06 11:31:06 -07:00
debugfs.c ceph: debugfs 2009-10-06 11:31:14 -07:00
decode.h ceph: convert encode/decode macros to inlines 2009-10-14 09:59:09 -07:00
dir.c ceph: directory operations 2009-10-06 11:31:08 -07:00
export.c ceph: nfs re-export support 2009-10-06 11:31:13 -07:00
file.c ceph: file operations 2009-10-06 11:31:08 -07:00
inode.c ceph: inode operations 2009-10-06 11:31:08 -07:00
ioctl.c ceph: ioctls 2009-10-06 11:31:14 -07:00
ioctl.h ceph: ioctls 2009-10-06 11:31:14 -07:00
Kconfig ceph: Kconfig, Makefile 2009-10-06 11:31:15 -07:00
Makefile ceph: Kconfig, Makefile 2009-10-06 11:31:15 -07:00
mds_client.c ceph: flush dirty caps via the cap_dirty list 2009-10-15 18:14:35 -07:00
mds_client.h ceph: MDS client 2009-10-06 11:31:09 -07:00
mdsmap.c ceph: convert encode/decode macros to inlines 2009-10-14 09:59:09 -07:00
mdsmap.h ceph: MDS client 2009-10-06 11:31:09 -07:00
messenger.c ceph: update to mon client protocol v15 2009-10-09 16:39:27 -07:00
messenger.h ceph: messenger library 2009-10-06 11:31:13 -07:00
mon_client.c ceph: convert encode/decode macros to inlines 2009-10-14 09:59:09 -07:00
mon_client.h ceph: monitor client 2009-10-06 11:31:11 -07:00
msgpool.c ceph: message pools 2009-10-06 11:31:13 -07:00
msgpool.h ceph: message pools 2009-10-06 11:31:13 -07:00
msgr.h ceph: add version field to message header 2009-10-13 12:55:26 -07:00
osd_client.c ceph: convert encode/decode macros to inlines 2009-10-14 09:59:09 -07:00
osd_client.h ceph: OSD client 2009-10-06 11:31:10 -07:00
osdmap.c ceph: convert encode/decode macros to inlines 2009-10-14 09:59:09 -07:00
osdmap.h ceph: OSD client 2009-10-06 11:31:10 -07:00
rados.h ceph: on-wire types 2009-10-06 11:31:06 -07:00
README ceph: document shared files in README 2009-10-06 12:21:17 -07:00
snap.c ceph: snapshot management 2009-10-06 11:31:12 -07:00
super.c ceph: initialize sb->s_bdi, bdi_unregister after kill_anon_super 2009-10-14 14:09:07 -07:00
super.h ceph: flush dirty caps via the cap_dirty list 2009-10-15 18:14:35 -07:00
types.h ceph: client types 2009-10-06 11:31:07 -07:00
xattr.c ceph: include preferred_osd in file layout virtual xattr 2009-10-07 10:59:30 -07:00

#
# The following files are shared by (and manually synchronized
# between) the Ceph userland and kernel client.
#
# userland                  kernel
src/include/ceph_fs.h	    fs/ceph/ceph_fs.h
src/include/ceph_fs.cc	    fs/ceph/ceph_fs.c
src/include/msgr.h	    fs/ceph/msgr.h
src/include/rados.h	    fs/ceph/rados.h
src/include/ceph_strings.cc fs/ceph/ceph_strings.c
src/include/ceph_frag.h	    fs/ceph/ceph_frag.h
src/include/ceph_frag.cc    fs/ceph/ceph_frag.c
src/crush/crush.c	    fs/ceph/crush/crush.c
src/crush/crush.h	    fs/ceph/crush/crush.h
src/crush/mapper.c	    fs/ceph/crush/mapper.c
src/crush/mapper.h	    fs/ceph/crush/mapper.h
src/crush/hash.h	    fs/ceph/crush/hash.h