Re: [RFC] what to do with IOCB_DSYNC?

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

 



On 5/22/22 7:07 AM, Al Viro wrote:
> On Sun, May 22, 2022 at 07:02:01AM -0600, Jens Axboe wrote:
>> +static void iter_uaddr_advance(struct iov_iter *i, size_t size)
>> +{
>> +}
> 
> How could that possibly work?  At the very least you want to do
> what xarray does - you *must* decrement ->count and shift ->iov_offset.
> Matter of fact, I'd simply go with a bit of reorder and had it go
> for if (iter_is_uaddr(i) || iter_is_xarray(i)) in there...

It's just a stub, you said you'd want to do it, so I just dropped what I
had in the email. As I said, it's not even compiled yet, let alone
complete or tested.

-- 
Jens Axboe




[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