aboutsummaryrefslogtreecommitdiffstats
path: root/net/rds/rdma_transport.c
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2011-09-16 14:13:17 -0400
committerSage Weil <sage@newdream.net>2011-09-16 14:13:17 -0400
commit935b639a049053d0ccbcf7422f2f9cd221642f58 (patch)
treecee4fa3f82256314393b26bd5857d9564513ee04 /net/rds/rdma_transport.c
parent1cad78932a0d139dceff78e68808e160a224d57a (diff)
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>
Diffstat (limited to 'net/rds/rdma_transport.c')
0 files changed, 0 insertions, 0 deletions