android_kernel_google_msm/include/linux/ceph
Guanjun He 59d02721bb libceph: prevent the race of incoming work during teardown
(cherry picked from commit a2a3258417)

Add an atomic variable 'stopping' as flag in struct ceph_messenger,
set this flag to 1 in function ceph_destroy_client(), and add the condition code
in function ceph_data_ready() to test the flag value, if true(1), just return.

Signed-off-by: Guanjun He <gjhe@suse.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-26 11:38:38 -08:00
..
auth.h ceph: messenger: reduce args to create_authorizer 2012-11-26 11:38:07 -08:00
buffer.h
ceph_debug.h
ceph_frag.h
ceph_fs.h
ceph_hash.h
debugfs.h
decode.h BUG: headers with BUG/BUG_ON etc. need linux/bug.h 2012-03-04 17:54:34 -05:00
libceph.h libceph: embed ceph messenger structure in ceph_client 2012-11-26 11:38:21 -08:00
mdsmap.h BUG: headers with BUG/BUG_ON etc. need linux/bug.h 2012-03-04 17:54:34 -05:00
messenger.h libceph: prevent the race of incoming work during teardown 2012-11-26 11:38:38 -08:00
mon_client.h libceph: embed ceph connection structure in mon_client 2012-11-26 11:38:22 -08:00
msgpool.h libceph: initialize msgpool message types 2012-11-26 11:38:38 -08:00
msgr.h
osd_client.h ceph: define ceph_auth_handshake type 2012-11-26 11:38:07 -08:00
osdmap.h
pagelist.h
rados.h
types.h