On 6/14/22 16:50, Damien Le Moal wrote:
We try that "fix" with the work for zoned btrfs. It does not work. Even adding a delay to wait for out of order requests (if there is a hole in a write sequence) does not reliably work as FSes may sometimes take 10s of seconds to issue all write requests that can be all ordered into a nice write stream. Even with that delay increased to minutes, we were still seeing unaligned write errors.
Please clarify. Doesn't BTRFS use REQ_OP_ZONE_APPEND for zoned storage? REQ_OP_ZONE_APPEND requests do not trigger write errors if reordered.
Additionally, our tests with F2FS on top of this patch series pass. Thanks, Bart.