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

From: Miklos Szeredi
Date: Thu Aug 29 2024 - 09:21:55 EST


On Thu, 29 Aug 2024 at 15:11, Hanna Czenczek <hreitz@xxxxxxxxxx> 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 special treatment.

> Sounds simple. Do you think semantically it’s find to block here? We’d only do it for virtio-fs, so a denial-of-service may not be of concern here.

It should be okay. AFAIK all network filesystems block mount(2) until
setup is complete.

Thanks,
Miklos