lkml.org 
[lkml]   [2015]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] BTT: Change nd_btt_arena_is_valid() to verify UUID
From
On Fri, Dec 18, 2015 at 7:15 AM, Toshi Kani <toshi.kani@hpe.com> wrote:
> On Fri, 2015-12-18 at 01:34 -0700, Vishal Verma wrote:
>> Also, I wonder if this problem is solved by using libndctl to manage
>> BTTs.
>
> I have not tested with libndctl yet, but I think our bind/unbind scripts do
> the same procedures.

We loop through all combinations of sector size in our unit test. If
you want to change the sector size the expectation is that the
namespace is destroyed and fully re-created, especially due to the
fact that changing sector size invalidates all data on the namespace.

See: https://github.com/pmem/ndctl/blob/master/lib/test-libndctl.c


\
 
 \ /
  Last update: 2015-12-18 19:21    [W:0.425 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site