lkml.org 
[lkml]   [2017]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 01/18] lightnvm: pblk: improve naming for internal req.
Date
> On 6 Sep 2017, at 15.46, Christoph Hellwig <hch@infradead.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
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2017-09-06 16:02    [W:0.055 / U:2.996 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site