Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1628534
| From | Javier González <jg@lightnvm.io> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] lightnvm: propagate pblk_init return to userspace |
| Date | 2017-04-21 21:30 +0200 |
| Message-ID | <tyLDk-LM-29@gated-at.bofh.it> (permalink) |
| References | <typ06-3Ua-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
> 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
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll 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