Re: [PATCH] block/rbd: report a better error when namespace does not exist

2022-05-17 Thread Stefano Garzarella
On Mon, May 16, 2022 at 08:26:53PM +0200, Ilya Dryomov wrote: On Mon, May 16, 2022 at 12:03 PM Stefano Garzarella wrote: If the namespace does not exist, rbd_create() fails with -ENOENT and QEMU reports a generic "error rbd create: No such file or directory": $ qemu-img create rbd:rbd/nam

Re: [PATCH] block/rbd: report a better error when namespace does not exist

2022-05-16 Thread Ilya Dryomov
On Mon, May 16, 2022 at 12:03 PM Stefano Garzarella wrote: > > If the namespace does not exist, rbd_create() fails with -ENOENT and > QEMU reports a generic "error rbd create: No such file or directory": > > $ qemu-img create rbd:rbd/namespace/image 1M > Formatting 'rbd:rbd/namespace/image