Re: [PATCH v5] generic: add a test for atomic writes

Christoph Hellwig
2025-05-02T07:12:12Z

This fails in my zoned device tests with;

mkfs.xfs: error - cannot set blocksize 512 on block device /dev/nvme3n1: Invalid argument

that error turns to be because the scratch rtdev /dev/nvme3n1 has a 4k
LBA size, while the main scratch device has a 512 byte sector size,
which is a configuration common for but not exclusive to zoned device,
and which means that we can't use a 512 byte block size for the file
system.

I'm not really sure how to best add the case of a larger LBA size on
the rt device to this test, though.