Skip to content

Commit

Permalink
os/bluestore: write 'type' file
Browse files Browse the repository at this point in the history
Signed-off-by: Sage Weil <sage@redhat.com>
  • Loading branch information
liewegas committed Dec 30, 2015
1 parent 04719b2 commit 752e0c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/os/bluestore/BlueStore.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1606,6 +1606,9 @@ int BlueStore::mkfs()
if (r < 0)
goto out_close_alloc;
r = write_meta("bluefs", stringify((int)g_conf->bluestore_bluefs));
if (r < 0)
goto out_close_alloc;
r = write_meta("type", "bluestore");
if (r < 0)
goto out_close_alloc;

Expand Down

0 comments on commit 752e0c7

Please sign in to comment.