Skip to contentSkip to conversation

common/rc: ceph only supports default SEEK_HOLE behavior

PATCH New Jeff Layton 1 participant 1 message Jul 26, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 common/rc: ceph only supports default SEEK_HOLE behavior

CephFS currently has only a very primitive SEEK_HOLE implementation, and always sets the offset to EOF when it's used. Remove it from the whitelist.

Cc Amir Goldstein <[email protected]>
---
 common/rc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
common/rc +1 -1
index 3fe5647ec658..e0b087c10e8f 100644
@@ -2352,7 +2352,7 @@ _fstyp_has_non_default_seek_data_hole()
 	fi
 
 	case "$fstyp" in
-	btrfs|ext4|xfs|ceph|cifs|f2fs|gfs2|ocfs2|tmpfs)
+	btrfs|ext4|xfs|cifs|f2fs|gfs2|ocfs2|tmpfs)
 		return 0
 		;;
 	nfs*)
Signature · 1 line
2.21.0