Make the _min_dio_alignment() query return 1 if the filesystem to be operated upon is AFS. It has no alignment or size granularity requirements for doing read and write RPCs. Signed-off-by: David Howells <dhowells@xxxxxxxxxx> cc: linux-afs@xxxxxxxxxxxxxxxxxxx --- common/rc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/rc b/common/rc index c0659215..cb60c35b 100644 --- a/common/rc +++ b/common/rc @@ -3827,6 +3827,8 @@ _min_dio_alignment() if [ -b "$dev" ]; then blockdev --getss $dev + elif [ "$FSTYP" = afs ]; then + echo 1 else $here/src/feature -s fi