Whamcloud - gitweb
LU-12518 llite: Accept EBUSY for page unaligned read 57/35457/14
authorPatrick Farrell <pfarrell@whamcloud.com>
Thu, 8 Aug 2019 17:13:01 +0000 (13:13 -0400)
committerOleg Drokin <green@whamcloud.com>
Tue, 28 Jan 2020 06:02:59 +0000 (06:02 +0000)
commitb9c155065d2ca4a6037a0ca4bfc788d6961fdc8e
tree6af5e64a4914ab924e98f222aae1b45d2059685b
parent83d8dd1d7c30c41e837b07b97198ad77bd903eea
LU-12518 llite: Accept EBUSY for page unaligned read

When doing unaligned strided reads, it's possible for the
first and last page of a stride to be read by another
thread on the same node, resulting in EBUSY.

Also this could potentially happen for sequential read,
for example, several MPI split one large file with unaligned
page size, sequential read happen with each MPI program.

We shouldn't stop readahead in these cases.

Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: I4e832c8859452d0b52f14b5e4fdb64a972bf40a3
Reviewed-on: https://review.whamcloud.com/35457
Reviewed-by: Wang Shilong <wshilong@ddn.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/rw.c