Re: [PATCH v8 1/2] Add do_ftruncate that truncates a struct file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 01, 2024 at 04:20:06PM -0700, Jens Axboe wrote:
> On 1/31/24 2:14 AM, Tony Solomonik wrote:
> > Actually, I'm not quite sure anymore, @Jens Axboe
> > <mailto:axboe@xxxxxxxxx> is there any guarantee in io_uring that the
> > file is always opened as LARGE / 64 bit? From looking at the code, it
> > simply accepts a user made fd, so the user might have not opened it as
> > LARGE on a 32bit system, which might be bad news.
> 
> Yeah, we probably want to retain that. Though it'd be a very odd case
> where an application using io_uring isn't opening "large" files by
> default, but we'd still have to ensure that it is.

Oh; my mistake.  I thought we required O_LARGEFILE when using io_uring.




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux