Re: [PATCH] bcachefs: fix incorrect usage of REQ_OP_FLUSH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 22, 2024 at 07:30:07AM +0100, Christoph Hellwig wrote:
> On Fri, Jan 19, 2024 at 04:32:44PM -0500, Kent Overstreet wrote:
> > 
> > I've got a new bug report with this patch:
> > https://www.reddit.com/r/bcachefs/comments/19a2u3c/error_writing_journal_entry/
> > 
> > We seem to be geting -EOPNOTSUPP back from REQ_OP_FLUSH?
> 
> With the patch you are replying to you will not get -EOPNOTSUPP
> for REQ_OP_FLUSH?, because bcachefs won't send it as it's supposed to.
> 
> Without this patch as in current mainline you will get -EOPNOTSUPP
> because sending REQ_OP_FLUSH and finally check for that to catch bugs
> like the one fixed with this patch.

Then why did the user report -EOPNOTSUPP with the patch, which went away
when reverted?




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux