From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 2 May 2017 08:18:15 -0700 From: Christoph Hellwig To: Jan Kara Cc: Jens Axboe , Christoph Hellwig , linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: Treat REQ_FUA and REQ_PREFLUSH as synchronous Message-ID: <20170502151815.GA24317@infradead.org> References: <20170502102123.GE13916@quack2.suse.cz> <20170502144505.GA29623@infradead.org> <20170502151558.GL13916@quack2.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20170502151558.GL13916@quack2.suse.cz> List-ID: On Tue, May 02, 2017 at 05:15:58PM +0200, Jan Kara wrote: > in generic_make_request_checks()? Or just set it unconditionally in that > function if we see REQ_FUA | REQ_PREFLUSH set? Just add REQ_FUA and REQ_PREFLUSH to the test in op_is_sync.