[PATCH v2 0/3] overlayfs lock ordering changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Filesystems Devel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux