fstests: initial bcachefs support
[xfstests-dev.git] / common / attr
index 669909d6007233df73517ba8da1d5ee776373f63..42ceab92335a9b198b6989a09238aed7aa9dc32c 100644 (file)
@@ -33,6 +33,9 @@ _acl_get_max()
                        echo 506
                fi
                ;;
+       bcachefs)
+               echo 251
+               ;;
        *)
                echo 0
                ;;
@@ -273,6 +276,9 @@ pvfs2)
 9p|ceph|nfs)
        MAX_ATTRVAL_SIZE=65536
        ;;
+bcachefs)
+       MAX_ATTRVAL_SIZE=1024
+       ;;
 *)
        # Assume max ~1 block of attrs
        BLOCK_SIZE=`_get_block_size $TEST_DIR`