Re: [PATCH 1/2 v2] rbd: allow importing from stdin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 16, 2012 at 3:25 PM, Yehuda Sadeh Weinraub
<yehudasa@xxxxxxxxx> wrote:
> I'd rather not pass size for stdin. We should instead make it so that
> we don't read size at all and just importing while !eof (or do that
> only when size is 0). We'd need to create the image with size=0 and
> update the header in the end.

Hopefully something there would prevent us from leaking objects if the
rbd import crashed half way through. Perhaps the header needs to
change before each object gets created?
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux