All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2 v2] ceph: fix the use-after-free bug for file_lock
@ 2022-11-14  5:18 xiubli
  2022-11-14  5:19 ` [PATCH 1/2 v2] ceph: add ceph_lock_info support " xiubli
  2022-11-14  5:19 ` [PATCH 2/2 v2] ceph: use a xarray to record all the opened files for each inode xiubli
  0 siblings, 2 replies; 9+ messages in thread
From: xiubli @ 2022-11-14  5:18 UTC (permalink / raw)
  To: ceph-devel, jlayton, idryomov, viro
  Cc: lhenriques, mchangir, linux-kernel, linux-fsdevel, Xiubo Li

From: Xiubo Li <xiubli@redhat.com>

Changed in V2:
- switch to file_lock.fl_u to fix the race bug
- and the most code will be in the ceph layer

Xiubo Li (2):
  ceph: add ceph_lock_info support for file_lock
  ceph: use a xarray to record all the opened files for each inode

 fs/ceph/file.c                  |  9 +++++++++
 fs/ceph/inode.c                 |  4 ++++
 fs/ceph/locks.c                 | 35 +++++++++++++++++++++++++++++----
 fs/ceph/super.h                 |  4 ++++
 include/linux/ceph/ceph_fs_fl.h | 26 ++++++++++++++++++++++++
 include/linux/fs.h              |  2 ++
 6 files changed, 76 insertions(+), 4 deletions(-)
 create mode 100644 include/linux/ceph/ceph_fs_fl.h

-- 
2.31.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-11-14 13:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-14  5:18 [PATCH 0/2 v2] ceph: fix the use-after-free bug for file_lock xiubli
2022-11-14  5:19 ` [PATCH 1/2 v2] ceph: add ceph_lock_info support " xiubli
2022-11-14 11:24   ` Jeff Layton
2022-11-14 13:00     ` Xiubo Li
2022-11-14  5:19 ` [PATCH 2/2 v2] ceph: use a xarray to record all the opened files for each inode xiubli
2022-11-14  8:54   ` kernel test robot
2022-11-14 13:08     ` Xiubo Li
2022-11-14 13:39   ` Jeff Layton
2022-11-14 13:46     ` Xiubo Li

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.