On Thu, May 05, 2022 at 08:41:26AM -0700, Darrick J. Wong wrote: > > + */ > > + iomi.private = iocb->private; > > + WRITE_ONCE(iocb->private, NULL); > > Do we need to transfer it back after the bio completes? Or is it a > feature that iocb->private changes to the bio? No need to transfer it back. It ist just a creative way to pass private data in. Initially I just added yet another argument to iomap_dio_rw, and maybe I should just go back to that to make the things easier to follow.