Re: [PATCH v5 0/7] fs: introduce file_getattr and file_setattr syscalls

2025-05-21 Thread Amir Goldstein
On Wed, May 21, 2025 at 12:06 PM Andrey Albershteyn wrote: > > On 2025-05-21 11:36:31, Amir Goldstein wrote: > > On Wed, May 21, 2025 at 10:48 AM Andrey Albershteyn > > wrote: > > > > > > On 2025-05-19 21:37:04, Dave Chinner wrote: > > > > On Thu, May 15, 2025 at 12:33:31PM +0200, Amir Goldstein

Re: [PATCH v5 0/7] fs: introduce file_getattr and file_setattr syscalls

2025-05-21 Thread Andrey Albershteyn
On 2025-05-21 11:36:31, Amir Goldstein wrote: > On Wed, May 21, 2025 at 10:48 AM Andrey Albershteyn > wrote: > > > > On 2025-05-19 21:37:04, Dave Chinner wrote: > > > On Thu, May 15, 2025 at 12:33:31PM +0200, Amir Goldstein wrote: > > > > On Thu, May 15, 2025 at 11:02 AM Christian Brauner > > >

Re: [PATCH v5 0/7] fs: introduce file_getattr and file_setattr syscalls

2025-05-21 Thread Amir Goldstein
On Wed, May 21, 2025 at 10:48 AM Andrey Albershteyn wrote: > > On 2025-05-19 21:37:04, Dave Chinner wrote: > > On Thu, May 15, 2025 at 12:33:31PM +0200, Amir Goldstein wrote: > > > On Thu, May 15, 2025 at 11:02 AM Christian Brauner > > > wrote: > > > > > > > > On Tue, May 13, 2025 at 11:53:23AM

Re: [PATCH v5 0/7] fs: introduce file_getattr and file_setattr syscalls

2025-05-21 Thread Arnd Bergmann
On Wed, May 21, 2025, at 10:48, Andrey Albershteyn wrote: > On 2025-05-19 21:37:04, Dave Chinner wrote: >> > +struct fsx_fileattr { >> > + __u32 fsx_xflags; /* xflags field value (get/set) */ >> > + __u32 fsx_extsize;/* extsize field value (get/set)*/ >> > +

Re: [PATCH v5 0/7] fs: introduce file_getattr and file_setattr syscalls

2025-05-21 Thread Pali Rohár
On Wednesday 21 May 2025 10:48:26 Andrey Albershteyn wrote: > On 2025-05-19 21:37:04, Dave Chinner wrote: > > On Thu, May 15, 2025 at 12:33:31PM +0200, Amir Goldstein wrote: > > > On Thu, May 15, 2025 at 11:02 AM Christian Brauner > > > wrote: > > > > > > > > On Tue, May 13, 2025 at 11:53:23AM +0

Re: [PATCH v5 0/7] fs: introduce file_getattr and file_setattr syscalls

2025-05-21 Thread Andrey Albershteyn
On 2025-05-19 21:37:04, Dave Chinner wrote: > On Thu, May 15, 2025 at 12:33:31PM +0200, Amir Goldstein wrote: > > On Thu, May 15, 2025 at 11:02 AM Christian Brauner > > wrote: > > > > > > On Tue, May 13, 2025 at 11:53:23AM +0200, Arnd Bergmann wrote: > > > > On Tue, May 13, 2025, at 11:17, Andrey

Re: [PATCH v5 0/7] fs: introduce file_getattr and file_setattr syscalls

2025-05-19 Thread Dave Chinner
On Thu, May 15, 2025 at 12:33:31PM +0200, Amir Goldstein wrote: > On Thu, May 15, 2025 at 11:02 AM Christian Brauner wrote: > > > > On Tue, May 13, 2025 at 11:53:23AM +0200, Arnd Bergmann wrote: > > > On Tue, May 13, 2025, at 11:17, Andrey Albershteyn wrote: > > > > > > > > > > > long syscall(

Re: [PATCH v5 0/7] fs: introduce file_getattr and file_setattr syscalls

2025-05-19 Thread Christian Brauner
On Thu, May 15, 2025 at 12:33:31PM +0200, Amir Goldstein wrote: > On Thu, May 15, 2025 at 11:02 AM Christian Brauner wrote: > > > > On Tue, May 13, 2025 at 11:53:23AM +0200, Arnd Bergmann wrote: > > > On Tue, May 13, 2025, at 11:17, Andrey Albershteyn wrote: > > > > > > > > > > > long syscall(

Re: [PATCH v5 0/7] fs: introduce file_getattr and file_setattr syscalls

2025-05-15 Thread Amir Goldstein
On Thu, May 15, 2025 at 11:02 AM Christian Brauner wrote: > > On Tue, May 13, 2025 at 11:53:23AM +0200, Arnd Bergmann wrote: > > On Tue, May 13, 2025, at 11:17, Andrey Albershteyn wrote: > > > > > > > > long syscall(SYS_file_getattr, int dirfd, const char *pathname, > > > struct fs

Re: [PATCH v5 0/7] fs: introduce file_getattr and file_setattr syscalls

2025-05-15 Thread Christian Brauner
On Tue, May 13, 2025 at 11:53:23AM +0200, Arnd Bergmann wrote: > On Tue, May 13, 2025, at 11:17, Andrey Albershteyn wrote: > > > > > long syscall(SYS_file_getattr, int dirfd, const char *pathname, > > struct fsxattr *fsx, size_t size, unsigned int at_flags); > > long syscall(SY

Re: [PATCH v5 0/7] fs: introduce file_getattr and file_setattr syscalls

2025-05-14 Thread H. Peter Anvin
On May 13, 2025 2:53:23 AM PDT, Arnd Bergmann wrote: >On Tue, May 13, 2025, at 11:17, Andrey Albershteyn wrote: > >> >> long syscall(SYS_file_getattr, int dirfd, const char *pathname, >> struct fsxattr *fsx, size_t size, unsigned int at_flags); >> long syscall(SYS_file_setat

Re: [PATCH v5 0/7] fs: introduce file_getattr and file_setattr syscalls

2025-05-13 Thread Amir Goldstein
On Tue, May 13, 2025 at 11:53 AM Arnd Bergmann wrote: > > On Tue, May 13, 2025, at 11:17, Andrey Albershteyn wrote: > > > > > long syscall(SYS_file_getattr, int dirfd, const char *pathname, > > struct fsxattr *fsx, size_t size, unsigned int at_flags); > > long syscall(SYS

Re: [PATCH v5 0/7] fs: introduce file_getattr and file_setattr syscalls

2025-05-13 Thread Arnd Bergmann
On Tue, May 13, 2025, at 11:17, Andrey Albershteyn wrote: > > long syscall(SYS_file_getattr, int dirfd, const char *pathname, > struct fsxattr *fsx, size_t size, unsigned int at_flags); > long syscall(SYS_file_setattr, int dirfd, const char *pathname, > stru

[PATCH v5 0/7] fs: introduce file_getattr and file_setattr syscalls

2025-05-13 Thread Andrey Albershteyn
This patchset introduced two new syscalls file_getattr() and file_setattr(). These syscalls are similar to FS_IOC_FSSETXATTR ioctl() except they use *at() semantics. Therefore, there's no need to open the file to get a fd. These syscalls allow userspace to set filesystem inode attributes on specia

Re: [PATCH v5 0/7] fs: introduce file_getattr and file_setattr syscalls

2025-05-13 Thread Christian Brauner
> Ignore please, somehow b4 crashed with timeout on gmail Ok, no worries. I wondered why I didn't get all messages of that series.

Re: [PATCH v5 0/7] fs: introduce file_getattr and file_setattr syscalls

2025-05-12 Thread Andrey Albershteyn
On 2025-05-12 15:25:11, Andrey Albershteyn wrote: > This patchset introduced two new syscalls file_getattr() and > file_setattr(). These syscalls are similar to FS_IOC_FSSETXATTR ioctl() > except they use *at() semantics. Therefore, there's no need to open the > file to get a fd. > > These syscall

Re: [PATCH v5 0/7] fs: introduce file_getattr and file_setattr syscalls

2025-05-12 Thread Andrey Albershteyn
On 2025-05-12 15:18:53, Andrey Albershteyn wrote: > This patchset introduced two new syscalls file_getattr() and > file_setattr(). These syscalls are similar to FS_IOC_FSSETXATTR ioctl() > except they use *at() semantics. Therefore, there's no need to open the > file to get a fd. > > These syscall

[PATCH v5 0/7] fs: introduce file_getattr and file_setattr syscalls

2025-05-12 Thread Andrey Albershteyn
This patchset introduced two new syscalls file_getattr() and file_setattr(). These syscalls are similar to FS_IOC_FSSETXATTR ioctl() except they use *at() semantics. Therefore, there's no need to open the file to get a fd. These syscalls allow userspace to set filesystem inode attributes on specia

[PATCH v5 0/7] fs: introduce file_getattr and file_setattr syscalls

2025-05-12 Thread Andrey Albershteyn
This patchset introduced two new syscalls file_getattr() and file_setattr(). These syscalls are similar to FS_IOC_FSSETXATTR ioctl() except they use *at() semantics. Therefore, there's no need to open the file to get a fd. These syscalls allow userspace to set filesystem inode attributes on specia