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.