Whamcloud - gitweb
LU-14043 llite: allow DIO with unaligned IO count 92/40392/3
authorWang Shilong <wshilong@ddn.com>
Mon, 2 Nov 2020 06:46:42 +0000 (14:46 +0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 3 Dec 2020 07:26:50 +0000 (07:26 +0000)
commit45c46c6effd8273dc4ca52f32447f9f7103057b1
tree91b9e58f7ff1c07166b1bbf373c7ee655ac40697
parent79c8abecdac052e3e00251547cc500f2cba742ab
LU-14043 llite: allow DIO with unaligned IO count

DIO only require user buffer page aligned and
IO offset page aligned, it is ok that io count is
not page aligned, remove this unnecessary limit
so that we could use DIO with file not aligned
with PAGE SIZE.

Change-Id: Iaf1e224b3f180f91d1b54016c6e6b7adaf674bf8
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Reviewed-on: https://review.whamcloud.com/40392
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/rw26.c