diff options
author | John Garry <john.g.garry@oracle.com> | 2025-07-24 08:12:15 +0000 |
---|---|---|
committer | Carlos Maiolino <cem@kernel.org> | 2025-08-11 14:04:01 +0200 |
commit | 8dc5e9b037138317c1d3151a7dabe41fa171cee1 (patch) | |
tree | 686a2834fb61a83a7a48f443ab665701e6560305 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 68456d05eb57a5d16b4be2d3caf421bdcf2de72e (diff) |
xfs: reject max_atomic_write mount option for no reflink
If the FS has no reflink, then atomic writes greater than 1x block are not
supported. As such, for no reflink it is pointless to accept setting
max_atomic_write when it cannot be supported, so reject max_atomic_write
mount option in this case.
It could be still possible to accept max_atomic_write option of size 1x
block if HW atomics are supported, so check for this specifically.
Fixes: 4528b9052731 ("xfs: allow sysadmins to specify a maximum atomic write limit at mount time")
Signed-off-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions