[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <7C9D69B3-96AC-4038-9395-FAA618B88EE4@lightnvm.io>
Date: Wed, 6 Sep 2017 16:01:43 +0200
From: Javier González <jg@...htnvm.io>
To: Christoph Hellwig <hch@...radead.org>
Cc: Matias Bjørling <mb@...htnvm.io>,
Jens Axboe <axboe@...com>, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org,
Matias Bjørling <matias@...xlabs.com>
Subject: Re: [PATCH 01/18] lightnvm: pblk: improve naming for internal req.
> On 6 Sep 2017, at 15.46, Christoph Hellwig <hch@...radead.org> wrote:
>
>> -#define ERASE 2 /* READ = 0, WRITE = 1 */
>> +/* READ = 0, WRITE (user) = 1 */
>> +#define ERASE 2
>> +#define WRITE_INT 3 /* Internal write. Not through write buffer */
>
> enum {
> PBLK_READ,
> PBLK_WRITE,
> PBLK_ERASE,
> PBLK_WRITE,
> };
>
> please. Don't abuse and overload the messy READ/WRITE macros in any
> new code.
Ok. I'll resend.
Javier
Download attachment "signature.asc" of type "application/pgp-signature" (802 bytes)
Powered by blists - more mailing lists