kernel_optimize_test/fs/ceph
Sage Weil c1ea8823be ceph: fix osd request submission race
The osd request submission path registers the request, drops and retakes
the request_mutex, then sends it to the OSD.  A racing kick_requests could
sent it during that interval, causing the same msg to be sent twice and
BUGing in the msgr.

Fix by only sending the message if it hasn't been touched by other
threads.

Signed-off-by: Sage Weil <sage@newdream.net>
2009-10-09 11:58:03 -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: capability management 2009-10-06 11:31:12 -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: on-wire types 2009-10-06 11:31:06 -07:00
ceph_fs.h ceph: on-wire types 2009-10-06 11:31:06 -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: messenger library 2009-10-06 11:31:13 -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: MDS client 2009-10-06 11:31:09 -07:00
mds_client.h ceph: MDS client 2009-10-06 11:31:09 -07:00
mdsmap.c ceph: fix mdsmap decoding when multiple mds's are present 2009-10-07 16:38:55 -07:00
mdsmap.h ceph: MDS client 2009-10-06 11:31:09 -07:00
messenger.c ceph: messenger library 2009-10-06 11:31:13 -07:00
messenger.h ceph: messenger library 2009-10-06 11:31:13 -07:00
mon_client.c ceph: renew mon subscription before it expires 2009-10-08 10:39:08 -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: on-wire types 2009-10-06 11:31:06 -07:00
osd_client.c ceph: fix osd request submission race 2009-10-09 11:58:03 -07:00
osd_client.h ceph: OSD client 2009-10-06 11:31:10 -07:00
osdmap.c ceph: OSD client 2009-10-06 11:31:10 -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: show meaningful version on module load 2009-10-07 10:59:10 -07:00
super.h ceph: client types 2009-10-06 11:31:07 -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