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

2024-07-09 Thread Hanna Czenczek
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, which is automatically set by the fusermount help program to match th

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

2024-07-09 Thread Hanna Czenczek
This new option allows mounting filesystems whose root node is a regular file instead of a directory. FUSE itself has the more generic 'rootmode' option, which theoretically allows mounting filesystems with an even greater variety of root node modes. There are two reasons why we do not let virtio

[PATCH 2/2] virtio-fs: Document 'file' mount option

2024-07-09 Thread Hanna Czenczek
Add the new mount option to the virtio-fs documentation. While at it, remove the note that virtio-fs would support FUSE mount options, because it does not. Signed-off-by: Hanna Czenczek --- Documentation/filesystems/virtiofs.rst | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --

Re: [PATCH 11/13] huge_memory: Remove dead vmf_insert_pXd code

2024-07-09 Thread Peter Xu
On Tue, Jul 09, 2024 at 02:07:31PM +1000, Alistair Popple wrote: > > Peter Xu writes: > > > Hi, Alistair, > > > > On Thu, Jun 27, 2024 at 10:54:26AM +1000, Alistair Popple wrote: > >> Now that DAX is managing page reference counts the same as normal > >> pages there are no callers for vmf_insert

[PATCH v2 00/13] Support several Rust toolchain versions

2024-07-09 Thread Miguel Ojeda
Hi all, A few things improved here and there, and rebased on top of `rust-next`. The changelog is attached to each patch. I kept the `Tested-by`s since most of the changes are on documentation or comments, though I did remove them on the patch that changed the most just in case (even for that on

[PATCH v2 06/13] rust: start supporting several compiler versions

2024-07-09 Thread Miguel Ojeda
It is time to start supporting several Rust compiler versions and thus establish a minimum Rust version. We may still want to upgrade the minimum sometimes in the beginning since there may be important features coming into the language that improve how we write code (e.g. field projections), which

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

2024-07-09 Thread Josef Bacik
On Tue, Jul 09, 2024 at 01:19:16PM +0200, 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