From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <5384E8FA.8080201@kernel.dk> Date: Tue, 27 May 2014 13:35:22 -0600 From: Jens Axboe MIME-Version: 1.0 To: Christoph Hellwig CC: Ming Lei , Linux Kernel Mailing List , stable Subject: Re: [PATCH] block: mq flush: fix race between IPI handler and mq flush worker References: <20140520152303.GA20352@lst.de> <20140521053634.GA4764@lst.de> <20140527181305.GA7975@lst.de> <5384DB97.70606@kernel.dk> <20140527185301.GA8466@lst.de> <5384DF5E.3020304@kernel.dk> <20140527191510.GA9274@lst.de> <5384E4D4.6040101@kernel.dk> <20140527192130.GA9850@lst.de> In-Reply-To: <20140527192130.GA9850@lst.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: On 05/27/2014 01:21 PM, Christoph Hellwig wrote: > On Tue, May 27, 2014 at 01:17:40PM -0600, Jens Axboe wrote: >> But I think you sent the old one again, not the new variant :-) > > Oh well, next try: This looks good to me. Was trying to think of ways to reduce that to one list iteration, but I think it's cleaner to just retain the two separate ones. Reusing REQ_SOFTBARRIER is fine as well, not used in blk-mq otherwise. Let me know when you have runtime verified it. -- Jens Axboe