[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <37f089fd-ff1a-1008-1004-f6c70a46c3bc@oracle.com>
Date: Thu, 4 May 2023 09:19:10 +0100
From: John Garry <john.g.garry@...cle.com>
To: Bart Van Assche <bvanassche@....org>, axboe@...nel.dk,
kbusch@...nel.org, hch@....de, sagi@...mberg.me,
martin.petersen@...cle.com, djwong@...nel.org,
viro@...iv.linux.org.uk, brauner@...nel.org, dchinner@...hat.com,
jejb@...ux.ibm.com
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-nvme@...ts.infradead.org, linux-scsi@...r.kernel.org,
linux-xfs@...r.kernel.org, linux-fsdevel@...r.kernel.org,
linux-security-module@...r.kernel.org, paul@...l-moore.com,
jmorris@...ei.org, serge@...lyn.com,
Alan Adamson <alan.adamson@...cle.com>
Subject: Re: [PATCH RFC 16/16] nvme: Support atomic writes
On 03/05/2023 19:49, Bart Van Assche wrote:
> On 5/3/23 11:38, John Garry wrote:
>> + if (!(boundary & (boundary - 1))) {
>
> Please use is_power_of_2() instead of open-coding it.
Sure, that can be changed, thanks
Powered by blists - more mailing lists