Thread (16 messages) 16 messages, 8 authors, 2024-08-29

Re: [RFC PATCH] fs: obtain the inode generation number from vfs directly

From: Hongbo Li <lihongbo22@huawei.com>
Date: 2024-08-27 03:07:37
Also in: linux-fsdevel


On 2024/8/27 10:53, Matthew Wilcox wrote:
On Tue, Aug 27, 2024 at 01:41:08AM +0000, Hongbo Li wrote:
quoted
Many mainstream file systems already support the GETVERSION ioctl,
and their implementations are completely the same, essentially
just obtain the value of i_generation. We think this ioctl can be
implemented at the VFS layer, so the file systems do not need to
implement it individually.
... then you should also remove the implementation from every
filesystem, not just add it to the VFS.
Yeah, this is just an RFC submission, mainly to see what everyone's 
opinions are. If this is ok, I will send the v2 that includes the 
removal of all file systems' implementations on IOC_GETVERSION.

Thanks,
Hongbo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help