Re: [RFC] what to do with IOCB_DSYNC?

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

 



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...



[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