summaryrefslogtreecommitdiff
path: root/CREDITS
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2022-03-14 22:47:18 +0300
committerIlya Dryomov <idryomov@gmail.com>2023-08-22 10:01:47 +0300
commit08b8a0440eeec83f8330349f829908858fd52d31 (patch)
treeb4eb65a8149b193d7d7baf002f2dfdcccd301b12 /CREDITS
parent706a741595047797872e669b3101429ab8d378ef (diff)
downloadlinux-08b8a0440eeec83f8330349f829908858fd52d31.tar.xz
libceph: add spinlock around osd->o_requests
In a later patch, we're going to need to search for a request in the rbtree, but taking the o_mutex is inconvenient as we already hold the con mutex at the point where we need it. Add a new spinlock that we take when inserting and erasing entries from the o_requests tree. Search of the rbtree can be done with either the mutex or the spinlock, but insertion and removal requires both. Signed-off-by: Jeff Layton <jlayton@kernel.org> Reviewed-by: Xiubo Li <xiubli@redhat.com> Reviewed-and-tested-by: Luís Henriques <lhenriques@suse.de> Reviewed-by: Milind Changire <mchangir@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions