On 8/22/18 10:23 AM, Mikulas Patocka wrote: > It is possible to call fsync on a read-only handle (for example, fsck.ext2 > does it when doing read-only check), and this call results in kernel > warning. This bug was introduced by the commit 721c7fc701c7 "block: fail > op_is_write() requests to read-only partitions". Similar patch is already queued up, it'll go into Linus's tree before -rc1. -- Jens Axboe