summaryrefslogtreecommitdiff
path: root/ctree.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-04-03 16:35:48 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2008-04-03 16:35:48 -0400
commita57a255e442c8d8d3c1c28780af84483c3b5ec21 (patch)
treea39d09d9000ab640f81e6153eb41d6568c0be34a /ctree.c
parentc7be130df72665117991ec93e7dd7c556c83230f (diff)
Add mkfs options for data and metadata mirroring modes
mkfs.btrfs --data {raid0,raid1,single} mkfs.btrfs --metadata {raid0,raid1,single} In single mode, no extra duplication or striping is done. In raid0 mode, blocks are spread across all of the available devices In raid1 mode, blocks are mirrored across two devices. For metadata, if raid1 is used and there is only one device, the metadata is duplicated on that single spindle. The defaults are raid0 for data and raid1 for metadata
Diffstat (limited to 'ctree.c')
0 files changed, 0 insertions, 0 deletions