mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
8a011c00b5
This test makes sure that we can't use stale unrecovered fs metadata to drive a DISCARD festival on a disk and thereby destroy user data by accident. The following patches fixed the bug on ext4, xfs and btrfs ext4: prohibit fstrim in norecovery mode xfs: prohibit fstrim in norecovery mode Btrfs: do not allow trimming when a fs is mounted with the nologreplay option Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
5 lines
106 B
Plaintext
5 lines
106 B
Plaintext
QA output created by 537
|
|
fstrim on regular mount
|
|
fstrim on ro mount
|
|
fstrim on ro mount with no log replay
|