Message ID | 5e51ae40-994c-1f83-0575-6505662fb138@sandisk.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show
Return-Path: <linux-btrfs-owner@kernel.org> 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 4E7A160231 for <patchwork-linux-btrfs@patchwork.kernel.org>; Wed, 14 Sep 2016 09:01:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 31B2629AA1 for <patchwork-linux-btrfs@patchwork.kernel.org>; Wed, 14 Sep 2016 09:01:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 25E3129B1D; Wed, 14 Sep 2016 09:01:07 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable 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 3470629B92 for <patchwork-linux-btrfs@patchwork.kernel.org>; Wed, 14 Sep 2016 09:01:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756012AbcINJA5 (ORCPT <rfc822;patchwork-linux-btrfs@patchwork.kernel.org>); Wed, 14 Sep 2016 05:00:57 -0400 Received: from mail-co1nam03on0045.outbound.protection.outlook.com ([104.47.40.45]:44975 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750746AbcINJAy (ORCPT <rfc822;linux-btrfs@vger.kernel.org>); Wed, 14 Sep 2016 05:00:54 -0400 X-Greylist: delayed 905 seconds by postgrey-1.27 at vger.kernel.org; Wed, 14 Sep 2016 05:00:54 EDT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandiskcorp.onmicrosoft.com; s=selector1-sandisk-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=hmyluS7sYZ8DuOfPolmrsqEHNVDZLPArebtFz12qwNQ=; b=fjcmZK9hupe58le5fzMYkel7lg0XiDcQcO0X1CcDa1+kP01KGg01ITkLT99/5iS2K6FxrdAQX/WevmlXqQZbx8gbKmeRyBlQz4NrMi6HSOwji5C7rH+h4jK2+gcKBFFZK/mQjRaR3ORkFJyKzSwwHdFUVGluNtl2DWT6dYWccKE= Received: from BN6PR02CA0072.namprd02.prod.outlook.com (10.175.94.162) by SN1PR02MB2144.namprd02.prod.outlook.com (10.166.68.18) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.609.9; Wed, 14 Sep 2016 08:46:33 +0000 Received: from BY2FFO11OLC015.protection.gbl (2a01:111:f400:7c0c::130) by BN6PR02CA0072.outlook.office365.com (2603:10b6:404:f9::34) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.587.13 via Frontend Transport; Wed, 14 Sep 2016 08:46:33 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.21) smtp.mailfrom=sandisk.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.21 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.21; helo=milsmgep15.sandisk.com; Received: from milsmgep15.sandisk.com (63.163.107.21) by BY2FFO11OLC015.mail.protection.outlook.com (10.1.15.59) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.619.6 via Frontend Transport; Wed, 14 Sep 2016 08:46:32 +0000 Received: from MILHUBIP03.sdcorp.global.sandisk.com (Unknown_Domain [10.201.67.162]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id 98.72.26959.23C09D75; Wed, 14 Sep 2016 01:37:06 -0700 (PDT) Received: from milsmgip12.sandisk.com (10.177.8.100) by MILHUBIP03.sdcorp.global.sandisk.com (10.177.9.96) with Microsoft SMTP Server id 14.3.301.0; Wed, 14 Sep 2016 01:46:30 -0700 X-AuditID: 0ac94369-ef8199800001694f-c2-57d90c32363b Received: from exp-402881.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id E3.CF.03606.26E09D75; Wed, 14 Sep 2016 01:46:30 -0700 (PDT) Subject: [PATCH 1/3] block: Document that bio_op() uses the data type of bio.bi_opf To: Jens Axboe <axboe@fb.com> References: <35e3cdd6-8983-6c84-cb4c-9a7be15aea55@sandisk.com> CC: Mike Christie <mchristi@redhat.com>, Chris Mason <clm@fb.com>, Josef Bacik <jbacik@fb.com>, Mike Snitzer <snitzer@redhat.com>, Christoph Hellwig <hch@lst.de>, Hannes Reinecke <hare@suse.de>, Damien Le Moal <Damien.LeMoal@hgst.com>, "linux-block@vger.kernel.org" <linux-block@vger.kernel.org>, "linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>, device-mapper development <dm-devel@redhat.com> From: Bart Van Assche <bart.vanassche@sandisk.com> Message-ID: <5e51ae40-994c-1f83-0575-6505662fb138@sandisk.com> Date: Wed, 14 Sep 2016 10:44:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <35e3cdd6-8983-6c84-cb4c-9a7be15aea55@sandisk.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprCIsWRmVeSWpSXmKPExsXCddJ5ka4Rz81w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jz9zUriC0iICvxffdrNogaO4n7x04w gtjMAguZJQ4ftgSx2QSMJL69n8kCYvMC1Sy58A3MZhFQlei88gSsXlQgQuLWww6oGkGJkzOf gNmcAvYSrU86oWaqS/yZd4kZwpaX2P52DvMERr5ZSFpmISmbhaRsASPzKkax3Myc4tz0zAJD I73ixLyUzOJsveT83E2M4ADnjNrBeH2i+SFGJg5OqQbG2Tn2GrtesHNeuXVCTMKss7c75uml K0pSu51urfzxIubjhiK143qnN1hPucQfP/33nmL+T/9mOzByScf9Ll0ZfPm2/ZeGVwWis9MF zkhnrXeecChHwErbvF7+4JE/7EnTYvM/R1Y0n2yJWfu1sJ+R651mfNiKqLWvnswPZBSLzrqw wIJ57qVMJZbijERDLeai4kQAEaNAoiACAAA= X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.21; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(438002)(189002)(199003)(356003)(86362001)(64126003)(69596002)(305945005)(4326007)(106466001)(76176999)(8936002)(54356999)(83506001)(65826007)(31696002)(7416002)(87936001)(110136003)(5660300001)(68736007)(11100500001)(7846002)(50986999)(229853001)(33646002)(2950100001)(8676002)(77096005)(2270400002)(65806001)(53416004)(81156014)(189998001)(23676002)(2906002)(65956001)(92566002)(19580405001)(19580395003)(36756003)(81166006)(230700001)(97736004)(50466002)(626004)(31686004)(586003)(4001350100001)(47776003); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR02MB2144; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC015; 1:ALaqMfa7wySYK4GA/JDDrcM3Sr+CxEAqA+20tBSiav1HI5zoAiFcjBNwhsc/OxmOEvgwNRmZf2BPWX2zkMIMiGL2HYM+rmd15scRc+v6bhvmBxoy0CcZmI/OFXklb3WWm2kNmQIoX8jjV5zEiY6ObuYwMUe8QsT/kNxr9c7BaXIy/9Dz3UIAoF8MXDN9uwbAR56j3ghw3r0RB5s7x26k1T95UO+eP3aS3re24Tv8zNa5/5SnCjJqQzQy7EZswFnt8TOqS9GiFiI8fzz4kh4tMBnmOJV2Y5SZnL04PzH5IKJfNbzQwNFoDZmanYV9cAWC5LshaSnSTwxJvuh9XkUkuLHlvW+5PXjuACnENl8deOiuwe9kJRBlALpEX0AjHS/5oKFekPzgq+RlILEGG8Eg3vaCLKtM8OUyv8PWwuTw6Zbn7mKc3sqwKxWbbWm/0TQawUdt/0FkjJLj3dJJNglGhdFP6FHiSnjqQMKAWbnubGX5eO9u+TP777nT7nmx3qYY8bGccRaIOdtRASpTZ0P4iw== X-MS-Office365-Filtering-Correlation-Id: da661fdd-529c-45f1-ca30-08d3dc7ba106 X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB2144; 2:If3d17yj/LSvDvZ9tCSA3rHXSlcK16akhdabieYRtcGH6YCp5rcyhJNlWMOyS5Tzkyul+uFrwYnlD3zvz1Hobh5+glhvCUvya2nf/baD7ZK8dbcgfVU52HAYMjEZM1jgmwLitOoNM8260g+eyaePMiX5UH8nTRdNMwuX6p3ysIV8vROQrGqvBjmTc4xwuwF1; 3:Bkm/QLnN8qw/GKPm955an6QESEonZo8yJmzNgb91tzK0ql5puDt7NqLIaXA3pSGmV9IUhSMjjKLMeU8ktnf4Smq72fybMXb287joqbIc5q3uJzUoTB9So0G4YDjfRP9/idu2QVUz1tR5UFIMzA7h1IWmguUI3c3lIc4uvlQCoXDKA6j6sn8BfqhITOXF/LAhD6jW9IgfDQDB8oYIIZR6KY9uNlYKvmeb7uJASkXezbDrXqnQ7L5ZNPuo21eFWnwQNiYPMDpogDKG3eD3kk8diw== X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501002); SRVR:SN1PR02MB2144; X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB2144; 25:KkurSC8xc76t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hvYtU9YDZ8BURqRWE33sMbX4G8Q=; 20:vlLDTwuo/zdL4w7L6rEPcqs0HIgQgtHMXWSKDM7YLi1BVsdIP6P1DvFBdbBB6/RITYZFbzz+lCrR/0yfTvgi/I96nHxvC5JcogV35w/3oCa1lNhOBmIwLymS+VkJ/N1dX7wj7OlAqhwb26XPHw5URd/zn6Koqkuc9xo1rBYQPUUQEgBpOYYz6jed4I+eVXre20TWPOl+CXwK8z8TbEMRJiDiIR+KvUiPwUoU9I6ffhdaGk2//Mco4R19fgMIGF/HY80zSloQvYu1C83GLbIaprd6rvA25POug2IEezmKtMjGqUc+tuIP7ckgfzi+0pDDA54V4QJJKF2+sFUTuiRxN+9q3daUOIVREHxlPZ5GyMIjGCOvNHEYPnFeT6PVZwyhpTpzBDvXwFRO+1vMqBkEsfLXtzSQSHOhORw1DaY5oRSUGi282aQLzjzDNTl+tIVUjI6dNpOEiNtfRGQ4WfhBfoVmTPxNhlfeGKrI0MEJnZgml8Vcj6cKrluhw+i7kiI3 X-Microsoft-Antispam-PRVS: <SN1PR02MB21444A0CDA36804A623B250281F10@SN1PR02MB2144.namprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(79135771888625)(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13016025)(13018025)(5005006)(8121501046)(3002001)(10201501046)(6055026); SRVR:SN1PR02MB2144; BCL:0; PCL:0; RULEID:; SRVR:SN1PR02MB2144; X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB2144; 4:Mh4ppelUcMRwbZwzHvKq5UJ2+XsbkkM1eXPysmucBHIQiKgH+o5461NGPo2Oshr/TpTpOKjpVkAwNOwDmEQxZaTu4fVPModNwjH6pzlelEfX1e0zG9e3wK0aUznOoBiUirwldhaW1dytjHNgAAefKcsWwBq/elv6650VXeFswfTCJ/llogpReL5WT3UPKsQMl4B2n9XvmFYCPkhihdsb/q70RdCAGFljLksovVP5Ryrx4IHtT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5yTdZ3lq39cOkNp9CZG0s5HQpeGHDzbBTGZC79vNMWwNKd5Ktj34dbuo+N3vugGiVRikEEbIrDqlMiwZ6DbRD2f9g3PSd9JNmgOU2cDUnh/GgZTG1aebtXqC SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB2144; 20:5r5+rqJNINGXLmX/c/meneZmQ1+9ZY4HPUhxJytjITREx2+7vsqsDbifwj5i2M2AKZJQO59KS0hprSRzxLezYNB3Rh7/0YMTA7ul83tTjUWk3UD8Sk8WwFEoXlzO8UoqP5rbLL1j+aj6aD1/e2HW0Gxvtwp9DhgvaJrJHDt0ujM4SVPyDCYeasrMGezG+IZX7JO+LAnfu868EvaqJhMYMg/+K6Gi3MWmgkLkMQXtI9C0oGed/jzdSEmkMzudse6e X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Sep 2016 08:46:32.9100 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d; Ip=[63.163.107.21]; Helo=[milsmgep15.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR02MB2144 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: <linux-btrfs.vger.kernel.org> X-Mailing-List: linux-btrfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Looks good,
Reviewed-by: Christoph Hellwig <hch@lst.de>
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/include/linux/blk_types.h b/include/linux/blk_types.h index 436f43f..1e1ef21 100644 --- a/include/linux/blk_types.h +++ b/include/linux/blk_types.h @@ -89,7 +89,7 @@ struct bio { struct bio_vec bi_inline_vecs[0]; }; -#define BIO_OP_SHIFT (8 * sizeof(unsigned int) - REQ_OP_BITS) +#define BIO_OP_SHIFT (8 * FIELD_SIZEOF(struct bio, bi_opf) - REQ_OP_BITS) #define bio_op(bio) ((bio)->bi_opf >> BIO_OP_SHIFT) #define bio_set_op_attrs(bio, op, op_flags) do { \
Make it clear that the sizeof(unsigned int) expression in BIO_OP_SHIFT refers to the bi_opf member of struct bio. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Mike Christie <mchristi@redhat.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Hannes Reinecke <hare@suse.de> Cc: Damien Le Moal <damien.lemoal@hgst.com> --- include/linux/blk_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)