Linux Overlay Filesystem development
 help / color / mirror / Atom feed
* [PATCH v2 0/3] overlayfs lock ordering changes
@ 2023-08-14 14:05 Amir Goldstein
  2023-08-14 14:05 ` [PATCH v2 1/3] ovl: reorder ovl_want_write() after ovl_inode_lock() Amir Goldstein
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Amir Goldstein @ 2023-08-14 14:05 UTC (permalink / raw)
  To: Miklos Szeredi; +Cc: Jan Kara, linux-unionfs

Hi Miklos,

These patches are needed for my start-write-safe series [1].
I think that at least patch 3 fixes a real bug.

Thanks,
Amir.

Changes since v1:
- Breakup the large ovl_want_write() transaction in copy up
- Add fix to possible deadlock with encode lower ovl fh

[1] https://github.com/amir73il/linux/commits/start-write-safe

Amir Goldstein (3):
  ovl: reorder ovl_want_write() after ovl_inode_lock()
  ovl: do not open/llseek lower file with upper sb_writers held
  ovl: do not encode lower fh with upper sb_writers held

 fs/overlayfs/copy_up.c   | 195 ++++++++++++++++++++++++++-------------
 fs/overlayfs/dir.c       |  71 +++++++-------
 fs/overlayfs/export.c    |   7 +-
 fs/overlayfs/inode.c     |  56 ++++++-----
 fs/overlayfs/namei.c     |  37 ++++++--
 fs/overlayfs/overlayfs.h |  26 ++++--
 fs/overlayfs/super.c     |  20 ++--
 fs/overlayfs/util.c      |  16 ++++
 8 files changed, 268 insertions(+), 160 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2023-09-08 12:29 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-14 14:05 [PATCH v2 0/3] overlayfs lock ordering changes Amir Goldstein
2023-08-14 14:05 ` [PATCH v2 1/3] ovl: reorder ovl_want_write() after ovl_inode_lock() Amir Goldstein
2023-08-15 10:50   ` Miklos Szeredi
2023-08-15 15:12     ` Amir Goldstein
2023-08-14 14:05 ` [PATCH v2 2/3] ovl: do not open/llseek lower file with upper sb_writers held Amir Goldstein
2023-08-15 15:12   ` Miklos Szeredi
2023-08-15 15:59     ` Amir Goldstein
2023-08-15 19:07       ` Miklos Szeredi
2023-08-15 19:51         ` Amir Goldstein
2023-08-15 20:36           ` Miklos Szeredi
2023-08-16 10:28             ` Christian Brauner
2023-08-16 15:02         ` Amir Goldstein
2023-09-08 12:29           ` Amir Goldstein
2023-08-16 10:34       ` Christian Brauner
2023-08-14 14:05 ` [PATCH v2 3/3] ovl: do not encode lower fh " Amir Goldstein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox