[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7e03d359-f199-29d8-a75f-20c4b7ff3031@kernel.dk>
Date: Wed, 11 Mar 2020 06:58:39 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Matteo Croce <mcroce@...hat.com>, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-nvdimm@...ts.01.org,
linux-bcache@...r.kernel.org, linux-raid@...r.kernel.org,
linux-mmc@...r.kernel.org, xen-devel@...ts.xenproject.org,
linux-scsi@...r.kernel.org, linux-nfs@...r.kernel.org
Cc: "James E.J. Bottomley" <jejb@...ux.ibm.com>,
Ulf Hansson <ulf.hansson@...aro.org>,
Anna Schumaker <anna.schumaker@...app.com>,
Dan Williams <dan.j.williams@...el.com>,
Song Liu <song@...nel.org>,
Guoqing Jiang <guoqing.jiang@...ud.ionos.com>
Subject: Re: [PATCH v3] block: refactor duplicated macros
On 3/10/20 6:22 PM, Matteo Croce wrote:
> The macros PAGE_SECTORS, PAGE_SECTORS_SHIFT and SECTOR_MASK are defined
> several times in different flavours across the whole tree.
> Define them just once in a common header.
>
> While at it, replace replace "PAGE_SHIFT - 9" with "PAGE_SECTORS_SHIFT" too
> and rename SECTOR_MASK to PAGE_SECTORS_MASK.
Applied, thanks.
--
Jens Axboe
Powered by blists - more mailing lists