What is different between read from stdin and file? I don't see any.
Is safe remove only the condition "fd == STDIN_FILENO" ?
Will data be ok?

On Wed, Mar 11, 2020 at 1:25 PM Jason Dillaman <jdillama@redhat.com> wrote:
On Wed, Mar 11, 2020 at 7:59 AM <marian.krucina@gmail.com> wrote:
>
> Hi,
>
> why rbd import diff from stdin sets rbd_concurrent_management_ops to 1?
>
> https://github.com/ceph/ceph/blob/master/src/tools/rbd/action/Import.cc#L39
> https://github.com/ceph/ceph/blob/master/src/tools/rbd/action/Import.cc#L740
>
> Can you remove this limitation?

The code would need to be restructured a bit to support that, but
definitely feel free to submit a PR to remove that limitation.

> Thanks & Regards,
> Marian
> _______________________________________________
> Dev mailing list -- dev@ceph.io
> To unsubscribe send an email to dev-leave@ceph.io
>


--
Jason