Thread (76 messages) 76 messages, 6 authors, 2016-08-04

Re: [PATCH 37/45] drivers: use req op accessor

From: Christoph Hellwig <hch@infradead.org>
Date: 2016-08-04 15:46:45
Also in: dm-devel, linux-bcache, linux-block, linux-ext4, linux-f2fs-devel, linux-fsdevel, linux-scsi, linux-xfs, lkml, ocfs2-devel

On Wed, Aug 03, 2016 at 07:30:29PM -0500, Shaun Tancheff wrote:
I think the translation in loop.c is suspicious here:

    "if use DIO && not (a flush_flag or discard_flag)"
should translate to:
    "if use DIO && not ((a flush_flag) || op == discard)"

But in the patch I read:
    "if use DIO && ((not a flush_flag) || op == discard)

Which would have DIO && discards follow the AIO path?
Indeed.  Sorry for missing out on your patch, I just sent a fix
in reply to Dave's other report earlier which is pretty similar to
yours.

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help