Thread (4 messages) 4 messages, 2 authors, 2018-09-05

Re: [PATCH] block: don't warn when calling fsync on read-only block devices

From: Jens Axboe <axboe@kernel.dk>
Date: 2018-08-22 16:26:06

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help