Re: [PATCH] block: fail unaligned bio from submit_bio_noacct()

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

 



On Thu, Mar 21, 2024 at 11:09:25AM -0600, Jens Axboe wrote:
> Where is this IO coming from? The normal block level dio has checks. And
> in fact they are expensive...

How is this expensive when we need the bio cache lines all the time
during I/O submission which follows instantly?

> If we add this one, then we should be able
> to kill the block/fops.c checks, no?

That would mean we'd only get an async error back, and it would be past
say page cache invalidation.  Not sure that's a good way to handle
failed alignment from userspace.





[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux