Re: [PATCH v2 2/3] ovl: do not open/llseek lower file with upper sb_writers held

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

 



On Tue, 15 Aug 2023 at 21:51, Amir Goldstein <amir73il@xxxxxxxxx> wrote:

> What I meant is, except from emergency remount rdonly and fs specific
> cases like ext4 remount-ro on error, is there a way via new mount API
> that users can request remount of the upper SB rdonly, despite the
> fact that this sb has private writable mount clones?
> even if ovl has elevated mnt_writers of upper_mnt?

Private and public mounts are completely equal in this regard.  So no,
you can't remount rdonly if upper mnt has an elevated mnt_writers.

Thanks,
Miklos



[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