Re: [PATCH 0/2] virtio-fs: Add 'file' mount option

2024-08-29 Thread Miklos Szeredi
On Thu, 29 Aug 2024 at 15:11, Hanna Czenczek wrote: > Hm, I thought we set some things in fuse_mount and fuse_conn in there that > are then queried by fuse_send_init()... Maybe the only thing > fuse_send_init() needs is fm->sb->s_bdi->ra_pages for max_readahead. Yes, that definitely needs spe

Re: [PATCH 0/2] virtio-fs: Add 'file' mount option

2024-08-29 Thread Miklos Szeredi
On Thu, 29 Aug 2024 at 14:37, Hanna Czenczek wrote: > I honestly have no idea how to go about it on a technical level, > though. Naïvely, I think we’d need to split off the tail of > fuse_fill_super_common() (everything starting from the > fuse_get_root_inode() call) into a separate function, wh

Re: [PATCH 0/2] virtio-fs: Add 'file' mount option

2024-08-29 Thread Miklos Szeredi
On Tue, 9 Jul 2024 at 13:19, Hanna Czenczek wrote: > > Hi, > > We want to be able to mount filesystems that just consist of one regular > file via virtio-fs, i.e. no root directory, just a file as the root > node. > > While that is possible via FUSE itself (through the 'rootmode' mount > option, w

Re: [RFC PATCH 00/20] Introduce the famfs shared-memory file system

2024-05-22 Thread Miklos Szeredi
On Wed, 22 May 2024 at 12:16, Amir Goldstein wrote: > The first open would cache the extent list in fuse_inode and > second open would verify that the extent list matches. > > Last file close could clean the cache extent list or not - that > is an API decision. Well, current API clears the mappi

Re: [RFC PATCH 00/20] Introduce the famfs shared-memory file system

2024-05-22 Thread Miklos Szeredi
On Wed, 22 May 2024 at 04:05, John Groves wrote: > I'm happy to help with that if you care - ping me if so; getting a VM running > in EFI mode is not necessary if you reserve the dax memory via memmap=, or > via libvirt xml. Could you please give an example? I use a raw qemu command line with a

Re: [RFC PATCH 00/20] Introduce the famfs shared-memory file system

2024-05-17 Thread Miklos Szeredi
On Thu, 29 Feb 2024 at 07:52, Amir Goldstein wrote: > I'm not virtiofs expert, but I don't think that you are wrong about this. > IIUC, virtiofsd could map arbitrary memory region to any fuse file mmaped > by virtiofs client. > > So what are the gaps between virtiofs and famfs that justify a new

Re: [PATCH v6 2/2] overlayfs: override_creds=off option bypass creator_cred

2018-11-06 Thread Miklos Szeredi
the >> caller's credentials. The module boolean parameter and mount option >> override_creds is also added as a presence check for this "feature", >> existence of /sys/module/overlay/parameters/overlay_creds. >> >> Signed-off-by: Mark Salyzyn >&

Re: [PATCH 1/4] fs/dcache: Limit numbers of negative dentries

2017-07-20 Thread Miklos Szeredi
On Thu, Jul 20, 2017 at 4:21 PM, Waiman Long wrote: > On 07/20/2017 03:20 AM, Miklos Szeredi wrote: >> On Wed, Jul 19, 2017 at 10:42 PM, Waiman Long wrote: >>> >>>>> @@ -603,7 +698,13 @@ static struct dentry *dentry_kill(struct dentry >>>>>

Re: [PATCH 1/4] fs/dcache: Limit numbers of negative dentries

2017-07-20 Thread Miklos Szeredi
On Wed, Jul 19, 2017 at 10:42 PM, Waiman Long wrote: > On 07/19/2017 04:24 PM, Miklos Szeredi wrote: >> On Mon, Jul 17, 2017 at 3:39 PM, Waiman Long wrote: >>> The number of positive dentries is limited by the number of files >>> in the filesystems. The number of

Re: [PATCH 1/4] fs/dcache: Limit numbers of negative dentries

2017-07-19 Thread Miklos Szeredi
On Mon, Jul 17, 2017 at 3:39 PM, Waiman Long wrote: > The number of positive dentries is limited by the number of files > in the filesystems. The number of negative dentries, however, > has no limit other than the total amount of memory available in > the system. So a rogue application that genera

Re: [PATCH 1/4] fs/dcache: Limit numbers of negative dentries

2017-07-19 Thread Miklos Szeredi
On Mon, Jul 17, 2017 at 3:39 PM, Waiman Long wrote: > The number of positive dentries is limited by the number of files > in the filesystems. The number of negative dentries, however, > has no limit other than the total amount of memory available in > the system. So a rogue application that genera