From patchwork Fri Jan 13 15:17:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geliang Tang X-Patchwork-Id: 9515865 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 227626077E for ; Fri, 13 Jan 2017 15:24:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0950A286CB for ; Fri, 13 Jan 2017 15:24:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F002B286C3; Fri, 13 Jan 2017 15:24:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A6C59286C3 for ; Fri, 13 Jan 2017 15:24:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752220AbdAMPYR (ORCPT ); Fri, 13 Jan 2017 10:24:17 -0500 Received: from mail-pf0-f194.google.com ([209.85.192.194]:33188 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752290AbdAMPYP (ORCPT ); Fri, 13 Jan 2017 10:24:15 -0500 Received: by mail-pf0-f194.google.com with SMTP id 127so8818481pfg.0; Fri, 13 Jan 2017 07:24:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=2uRS7q2e2xCWET6p+nCFiGBtsWlm7rGEdRXvnmYCYhw=; b=sFjYFf/wa6Tgmzv1ibnlEBlf5lfWhBRV8R2FvRbaImOiXrdJi4hSGCXcLM2KbDPoHt 4BYVgXTF69tKrNHGM/Wl00ifX930IMfiE0OuXB9j1TN2ARDomeRdaHP9JEDDOYmLUCaO 9ux8JnZKbBFIaicJ/BAIlhGJr91/EkYq4HTOW7AraYfkNAWyrdai+yzaImtU8x2kiZb+ /U300869bUCW8acSEdmoc51RGbWj7DogWmVeNSaBRkypdHe9/JdqOHWAXlblgdqgcaE9 pWcSBMxUoqT3ifithCtv4t4KHMYBW2a3A+LtnX6c7w7Rk3KB7ZkHdDqZXXKnPonLNHzK HB7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=2uRS7q2e2xCWET6p+nCFiGBtsWlm7rGEdRXvnmYCYhw=; b=tlc3ryBooM30MYl1mJnGMl8uOee6nzYOy+At6n6zxUxrlGP+7VHX+JuzMoeQk+ajuz hYANN2HgWB2FCoZhhBnP2MZ8qff6mA7wtM09VNbIGFYhfHREjQXlIsH/d6WSt+OIYDoM AW0rJumI+89T7gF8J/BRVbcvCqj7W6WXP1TST0Dl8/Yh3OokiYyM5EGGetiqWhDT+tkK AFlhE9sX/CJvneRxVnXtE9vRvp4DxsVVp4ESAqSyuIYHN//7fQJCWcDFoUh8gTMDKTlb z3yLx+YaLEjNrMrY9izllSUgXR5x6hm4vM8diR9ZbDU2tHQcdGHrgZJd1kw1QPHffNu0 Z/Jg== X-Gm-Message-State: AIkVDXJazHHzLx4GhXAYOy/cb1iw2kXpc9iJ8z/c498MWTtqSUFwxXsUo740zSAv1vJKuw== X-Received: by 10.98.88.4 with SMTP id m4mr23346795pfb.81.1484320645885; Fri, 13 Jan 2017 07:17:25 -0800 (PST) Received: from localhost (li411-102.members.linode.com. [106.187.91.102]) by smtp.gmail.com with ESMTPSA id p127sm30089010pfg.24.2017.01.13.07.17.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Jan 2017 07:17:25 -0800 (PST) From: Geliang Tang To: Jens Axboe Cc: Geliang Tang , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] elevator: add fall through comment Date: Fri, 13 Jan 2017 23:17:11 +0800 Message-Id: <4638988b826c4101d6fb461a775a8dae74f1f94a.1483524561.git.geliangtang@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <5b23d0cb523f4719673a462ab1569ae99084337e.1483685419.git.geliangtang@gmail.com> References: <5b23d0cb523f4719673a462ab1569ae99084337e.1483685419.git.geliangtang@gmail.com> Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add fall through comment for ELEVATOR_INSERT_SORT_MERGE. Signed-off-by: Geliang Tang --- block/elevator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/block/elevator.c b/block/elevator.c index 40f0c04..6db8f89 100644 --- a/block/elevator.c +++ b/block/elevator.c @@ -638,6 +638,7 @@ void __elv_add_request(struct request_queue *q, struct request *rq, int where) */ if (elv_attempt_insert_merge(q, rq)) break; + /* Fall through */ case ELEVATOR_INSERT_SORT: BUG_ON(rq->cmd_type != REQ_TYPE_FS); rq->rq_flags |= RQF_SORTED;