From patchwork Fri Jun 15 11:15:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gi-Oh Kim X-Patchwork-Id: 10466223 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 A6B426020F for ; Fri, 15 Jun 2018 11:16:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8F91A28D42 for ; Fri, 15 Jun 2018 11:16:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 83F7528D4B; Fri, 15 Jun 2018 11:16:17 +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=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI 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 B452928D42 for ; Fri, 15 Jun 2018 11:16:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965626AbeFOLQP (ORCPT ); Fri, 15 Jun 2018 07:16:15 -0400 Received: from mail-wr0-f180.google.com ([209.85.128.180]:33494 "EHLO mail-wr0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965635AbeFOLQO (ORCPT ); Fri, 15 Jun 2018 07:16:14 -0400 Received: by mail-wr0-f180.google.com with SMTP id k16-v6so9561967wro.0 for ; Fri, 15 Jun 2018 04:16:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=profitbricks-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=gvjogtcL8m8ru3mMPC4lYRL+vSKtnDFDHwIo2EHHDtc=; b=MgGLz8fuNHNIeY18a/4rTqRM7Fe2jB268IYuRLoAN0pA5/p/EHejji4gRj2+ULdYdB o2NdUNOHINKFmrdtV9p4V8ZI1JCtMAHdywOMnt4NHkULEc6kWV6b/6Ko2RqQa0EV6YoG 4ExgdKuEK9KRvOUwytkZhE15T+5G7ugIthUnPaRYIToc3hdRLB/sMF/A5HGR9iUqD2by LFpU5UK3y1lLI+lXY3sf3gd43W7Qi0Ft4+ONjefrJvwfz7EV4+aQifAcWodECRU8wwnO PtSFZ+qF6KXF/01682FZybnlZDTOZ7kVfO39dbnp2Pg0QyBYIdWdXMvUUTrqgr5Ug3Cu 4PTw== 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; bh=gvjogtcL8m8ru3mMPC4lYRL+vSKtnDFDHwIo2EHHDtc=; b=Ck0hIeOZksV3Nh17ULsrUWNRHS0FQ8ggXLmhhKZTB8+8hwf9DuGa7Z64JmYts4MYBT aHFsnVd2718y5Q8HW+RM6wxzryKA3yVTnzjdezQG+sf1NfjAJkTtHbS1Ef5Bkr33Qztr soPAnidv5TIJG/g3iGE2Yy/jaQSYYk5rqlsgIvwsliOGN4hLWrRPwGTV74fUP9DXxDd2 MhzjjyfV/3FbsujishpYZZX3N09ERg9uK6ytfjnwWg3Jps3J+H4l8omsdCMJrMpmOK0N 4B9WYnE7h/emtzPqeuY9k3S5rOknvK1puQCAfJpmwDDW/Ft86Z6qU/KQ3Fv51qjw1vBk AwyA== X-Gm-Message-State: APt69E2lZ70KITpGXj7qC6OeF0EuL7UzuYihueNxXr8RCaIHUU1ZajLJ LO1VtdNrSDoLyRNfjTCZ4vOXsLBSDCY= X-Google-Smtp-Source: ADUXVKIngtMupgN/9pcHODGaDW+rPTpCuzhVrYmU0z6mBnEyKHclvqXtfJ75nyH8GjjLcJC+kmyvpg== X-Received: by 2002:adf:9dc9:: with SMTP id q9-v6mr1337014wre.12.1529061373739; Fri, 15 Jun 2018 04:16:13 -0700 (PDT) Received: from ws00837.pb.local ([62.217.45.26]) by smtp.gmail.com with ESMTPSA id r11-v6sm7632984wrn.34.2018.06.15.04.16.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Jun 2018 04:16:13 -0700 (PDT) From: Gioh Kim To: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org Cc: Gioh Kim Subject: [RFC] replace comments for bvl_vec with bio_vec Date: Fri, 15 Jun 2018 13:15:54 +0200 Message-Id: <20180615111554.14005-1-gi-oh.kim@profitbricks.com> X-Mailer: git-send-email 2.14.1 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 I think bvl_vec means bio_vec_list that was replaced with bio_vec long time ago. If I am correct, I think some comments for blk_vec need to be replaced with bio_vec. Signed-off-by: Gioh Kim --- include/linux/blk_types.h | 2 +- include/linux/bvec.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/blk_types.h b/include/linux/blk_types.h index 3c4f390aea4b..a39dc0a665b9 100644 --- a/include/linux/blk_types.h +++ b/include/linux/blk_types.h @@ -196,7 +196,7 @@ struct bio { * Everything starting with bi_max_vecs will be preserved by bio_reset() */ - unsigned short bi_max_vecs; /* max bvl_vecs we can hold */ + unsigned short bi_max_vecs; /* max bio_vecs we can hold */ atomic_t __bi_cnt; /* pin count */ diff --git a/include/linux/bvec.h b/include/linux/bvec.h index fe7a22dd133b..6023dc9e6f79 100644 --- a/include/linux/bvec.h +++ b/include/linux/bvec.h @@ -38,7 +38,7 @@ struct bvec_iter { sectors */ unsigned int bi_size; /* residual I/O count */ - unsigned int bi_idx; /* current index into bvl_vec */ + unsigned int bi_idx; /* current index into bio_vec */ unsigned int bi_done; /* number of bytes completed */