Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 668FDC43441 for ; Thu, 15 Nov 2018 06:56:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2E9AA2086B for ; Thu, 15 Nov 2018 06:56:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2E9AA2086B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-block-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727984AbeKORDO (ORCPT ); Thu, 15 Nov 2018 12:03:14 -0500 Received: from mx2.suse.de ([195.135.220.15]:57174 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726960AbeKORDO (ORCPT ); Thu, 15 Nov 2018 12:03:14 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 027C8B007; Thu, 15 Nov 2018 06:56:39 +0000 (UTC) Subject: Re: [PATCH 07/16] block: update a few comments for the legacy request removal To: Christoph Hellwig , Jens Axboe Cc: linux-block@vger.kernel.org, linux-mmc@vger.kernel.org, drbd-dev@lists.linbit.com References: <20181114160219.28328-1-hch@lst.de> <20181114160219.28328-8-hch@lst.de> From: Hannes Reinecke Message-ID: Date: Thu, 15 Nov 2018 07:56:38 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <20181114160219.28328-8-hch@lst.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On 11/14/18 5:02 PM, Christoph Hellwig wrote: > Only the mq locking is left in the flush state machine. > > Signed-off-by: Christoph Hellwig > --- > block/blk-flush.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/block/blk-flush.c b/block/blk-flush.c > index c53197dcdd70..fcd18b158fd6 100644 > --- a/block/blk-flush.c > +++ b/block/blk-flush.c > @@ -148,7 +148,7 @@ static void blk_flush_queue_rq(struct request *rq, bool add_front) > * completion and trigger the next step. > * > * CONTEXT: > - * spin_lock_irq(q->queue_lock or fq->mq_flush_lock) > + * spin_lock_irq(fq->mq_flush_lock) > * > * RETURNS: > * %true if requests were added to the dispatch queue, %false otherwise. > @@ -252,7 +252,7 @@ static void flush_end_io(struct request *flush_rq, blk_status_t error) > * Please read the comment at the top of this file for more info. > * > * CONTEXT: > - * spin_lock_irq(q->queue_lock or fq->mq_flush_lock) > + * spin_lock_irq(fq->mq_flush_lock) > * > */ > static void blk_kick_flush(struct request_queue *q, struct blk_flush_queue *fq, > Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking hare@suse.de +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg)