From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751267AbdE3JYp (ORCPT ); Tue, 30 May 2017 05:24:45 -0400 Received: from verein.lst.de ([213.95.11.211]:60691 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750904AbdE3JYo (ORCPT ); Tue, 30 May 2017 05:24:44 -0400 Date: Tue, 30 May 2017 11:24:42 +0200 From: Christoph Hellwig To: Johannes Thumshirn Cc: Sagi Grimberg , Keith Busch , Christoph Hellwig , Linux NVMe Mailinglist , Linux Kernel Mailinglist Subject: Re: [PATCH 2/7] nvmet: add uuid field to nvme_ns and populate via configfs Message-ID: <20170530092442.GA16736@lst.de> References: <4aecbc794651073b2812341dc63e1f2918cc6a82.1496131397.git.jthumshirn@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4aecbc794651073b2812341dc63e1f2918cc6a82.1496131397.git.jthumshirn@suse.de> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This should be stored as a uuid_t (or rather uuid_be in the current kernel, but I'm about to rename it), and use uuid_be_to_bin / uuid_to_bin for parsing. From mboxrd@z Thu Jan 1 00:00:00 1970 From: hch@lst.de (Christoph Hellwig) Date: Tue, 30 May 2017 11:24:42 +0200 Subject: [PATCH 2/7] nvmet: add uuid field to nvme_ns and populate via configfs In-Reply-To: <4aecbc794651073b2812341dc63e1f2918cc6a82.1496131397.git.jthumshirn@suse.de> References: <4aecbc794651073b2812341dc63e1f2918cc6a82.1496131397.git.jthumshirn@suse.de> Message-ID: <20170530092442.GA16736@lst.de> This should be stored as a uuid_t (or rather uuid_be in the current kernel, but I'm about to rename it), and use uuid_be_to_bin / uuid_to_bin for parsing.