Chinaunix首页 | 论坛 | 博客
  • 博客访问: 333037
  • 博文数量: 102
  • 博客积分: 2510
  • 博客等级: 少校
  • 技术积分: 1146
  • 用 户 组: 普通用户
  • 注册时间: 2010-01-21 22:33
文章分类

全部博文(102)

文章存档

2011年(8)

2010年(94)

我的朋友

分类: IT业界

2010-01-24 15:18:15

Churning Butter(FS): An Interview with Chris Mason

对于沉睡了三十年的文件系统,面对着许多新的挑战,新 的文件系统如何面对呢?btrfs为什么作为下一代linux文件系统呢? 下面这个问题有解答。

JL What are the key features in btrfs that people are looking for?

CM One important part about Btrfs development is that we wanted to focus on features and not strictly performance. It is important that we perform well, but we wanted to make sure Btrfs had features that other Linux filesystems could not easily provide.

The biggest single feature is the copy on write snapshotting, which is actually the basis of most of the other advanced features in the FS. Btrfs snapshots are writable and can be snapshotted again.

Data and metadata checksums are also a key part of making sure we can administer the storage over time. We need to be able to detect when the disk is giving us the wrong data, and try to correct it by grabbing data from another mirror or sending a command down to the disk array to ask for another copy. This command doesn’t exist yet, but we do plan on adding it to the Linux software raid stack at least.

Managing multiple devices inside the filesystem is what gives Btrfs very flexible storage management. Devices can be mixed in size and speed, and over the long term Btrfs will do the right thing to optimize access. Raid levels can also be mixed, using different stripe sizes for data and metadata etc.

阅读(774) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~