Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1628456

Re: [PATCH] lightnvm: propagate pblk_init return to userspace

From Matias Bjørling <mb@lightnvm.io>
Newsgroups linux.kernel
Subject Re: [PATCH] lightnvm: propagate pblk_init return to userspace
Date 2017-04-21 20:40 +0200
Message-ID <tyLDk-LM-27@gated-at.bofh.it> (permalink)
References <typ06-3Ua-19@gated-at.bofh.it> <tyLDk-LM-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 04/21/2017 05:07 PM, Javier González wrote:
>> On 20 Apr 2017, at 20.23, Rakesh Pandit <rakesh@tuxera.com> wrote:
>>
>> From userspace calling ioctl(NVM_DEV_CREATE) was returning ENOMEM for
>> invalid arguments even though pblk (pblk_init) was returning correctly
>> -EINVAL to nvm_create_tgt inside core.  This patch propagates the
>> correct return value to userspace.
>>
>> Because pblk was introduced recently this only needs to go in 4.12.
>>
>> Fixes: a4bd217b4326 ("lightnvm: physical block device (pblk) target")
>> Signed-off-by: Rakesh Pandit <rakesh@tuxera.com>
>>
>
> Looks good.
>
> Reviewed-by: Javier González <javier@cnexlabs.com>
>
> Javier
>


Jens, would you pick this up as well? :)

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] lightnvm: propagate pblk_init return to userspace Rakesh Pandit <rakesh@tuxera.com> - 2017-04-20 20:30 +0200
  Re: [PATCH] lightnvm: propagate pblk_init return to userspace Matias Bjørling <mb@lightnvm.io> - 2017-04-21 20:40 +0200
    Re: [PATCH] lightnvm: propagate pblk_init return to userspace Jens Axboe <axboe@kernel.dk> - 2017-04-21 20:50 +0200
  Re: [PATCH] lightnvm: propagate pblk_init return to userspace Javier González <jg@lightnvm.io> - 2017-04-21 21:30 +0200

csiph-web