WSL2-Linux-Kernel/net/ceph
Sage Weil 935b639a04 libceph: fix linger request requeuing
The r_req_lru_item list node moves between several lists, and that cycle
is not directly related (and does not begin) with __register_request().
Initialize it in the request constructor, not __register_request(). This
fixes later badness (below) when OSDs restart underneath an rbd mount.

Crashes we've seen due to this include:

[  213.974288] kernel BUG at net/ceph/messenger.c:2193!

and

[  144.035274] BUG: unable to handle kernel NULL pointer dereference at 0000000000000048
[  144.035278] IP: [<ffffffffa036c053>] con_work+0x1463/0x2ce0 [libceph]

Signed-off-by: Sage Weil <sage@newdream.net>
2011-09-16 11:13:17 -07:00
..
crush
Kconfig libceph: Get secret from the kernel keys api when mounting with key=NAME. 2011-03-29 12:11:19 -07:00
Makefile Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-12-08 13:47:38 -08:00
armor.c libceph: Fix base64-decoding when input ends in newline. 2011-03-15 09:14:02 -07:00
auth.c ceph: Move secret key parsing earlier. 2011-03-29 12:11:16 -07:00
auth_none.c
auth_none.h
auth_x.c ceph: Move secret key parsing earlier. 2011-03-29 12:11:16 -07:00
auth_x.h
auth_x_protocol.h
buffer.c net: allow GFP_HIGHMEM in __vmalloc() 2010-11-21 10:04:04 -08:00
ceph_common.c libceph: fix parse options memory leak 2011-09-16 09:19:53 -07:00
ceph_fs.c ceph: fix file mode calculation 2011-07-19 11:25:04 -07:00
ceph_hash.c ceph: add dir_layout to inode 2011-01-12 15:15:12 -08:00
ceph_strings.c
crypto.c libceph: Create a new key type "ceph". 2011-03-29 12:11:24 -07:00
crypto.h libceph: Create a new key type "ceph". 2011-03-29 12:11:24 -07:00
debugfs.c rbd: introduce rados block device (rbd), based on libceph 2010-10-20 15:38:13 -07:00
messenger.c libceph: initialize ack_stamp to avoid unnecessary connection reset 2011-09-16 09:16:22 -07:00
mon_client.c ceph: Move secret key parsing earlier. 2011-03-29 12:11:16 -07:00
msgpool.c libceph: fix msgpool 2011-08-09 15:26:17 -07:00
osd_client.c libceph: fix linger request requeuing 2011-09-16 11:13:17 -07:00
osdmap.c libceph: handle new osdmap down/state change encoding 2011-05-24 11:52:09 -07:00
pagelist.c ceph: fix num_pages_free accounting in pagelist 2010-10-20 15:38:23 -07:00
pagevec.c libceph: fix handling of short returns from get_user_pages 2011-03-03 13:47:39 -08:00