On 7/19/23 16:07, Damien Le Moal wrote:
Not really. I was not thinking about passthrough requests but rather write syscalls to /dev/sdX by applications. sd_setup_read_write_cmnd() is used for these too. After all, /dev/sdX *is* a file system too, albeit the simplest possible.
How about introducing a new request flag (REQ_*) such that f2fs can disable zone locking while it remains enabled for all other users (BTRFS and direct I/O)? Thanks, Bart.