[PATCH 7/9] afs: Indicate the minimum DIO alignment is 1
David Howells
dhowells at redhat.com
Tue May 25 06:34:36 PDT 2021
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 at redhat.com>
cc: linux-afs at lists.infradead.org
---
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
More information about the linux-afs
mailing list