Re: [PATCH 5/5] xfs: use iomap_dio_rw

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

 



> > -	/* DIO must be aligned to device logical sector size */
> > -	if ((iocb->ki_pos | count) & target->bt_logical_sectormask) {
> > -		if (iocb->ki_pos == isize)
> > -			return 0;
> > -		return -EINVAL;
> > -	}
> 
> Do we not still need this, or is it checked elsewhere?
> 
> The rest looks sane to me, but I need to test and I haven't grabbed your
> tree yet..

iomap_dio_actor checks it.
--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux