Re: [PATCH v1] : Switch to use new generic UUID API
From: Javier GonzÃlez
Date: Thu Jan 24 2019 - 11:41:24 EST
> On 24 Jan 2019, at 17.38, Andy Shevchenko <andy.shevchenko@xxxxxxxxx> wrote:
> On Thu, Jan 24, 2019 at 4:36 PM Javier GonzÃlez <javier@xxxxxxxxxxx> wrote:
>> It is not pushed anywhere yet, but I have been working on a tool to make
>> a pblk recovery tool to enable FTL repairs if something fails in the
>> kernel recovery path. Here, I use this uuid to identify the
>> instance - is there a way to reconcile guid_t with user space, which
>> currently uses the __u8?
> For Linux there is util-linux which contains libuuid. There is uuid_t type.
> Unfortunately there is no so called LE (little endian) variant.
> Perhaps someone would need to extend the support for that.
Ok. I can look into that when releasing pblk-tools. But for now, I am OK
with applying with the changes Christoph suggested and aligning with
guid_t if you also think helps maintaining common helpers.
Description: Message signed with OpenPGP