On Fri, Apr 26, 2024 at 12:09:42AM +0530, Kanchan Joshi wrote: > diff --git a/block/fops.c b/block/fops.c > index 679d9b752fe8..e488fa66dd60 100644 > --- a/block/fops.c > +++ b/block/fops.c > @@ -353,6 +353,15 @@ static ssize_t __blkdev_direct_IO_async(struct kiocb *iocb, > task_io_account_write(bio->bi_iter.bi_size); > } > > + if (unlikely(iocb->ki_flags & IOCB_USE_META)) { > + ret = bio_integrity_map_iter(bio, iocb->private); > + WRITE_ONCE(iocb->private, NULL); > + if (unlikely(ret)) { > + bio_put(bio); > + return ret; > + } > + } Should this also be done for __blkdev_direct_IO and __blkdev_direct_IO_simple?