Re: btrfs development git tree

2010-01-08 Thread Liuwenyi
于 2010-1-8 20:41, Simon Schubert 写道: Hey, I apologize for this ignorant question upfront, but: Where can I find a current btrfs git repo? The one linked from the wiki (I think cmason's unstable tree) did not update in the last 3 weeks, and I don't think nothing happened since then. Maybe the

Re: /dev/btrfs-control

2010-01-08 Thread Kay Sievers
On Fri, Jan 8, 2010 at 17:37, Michael Niederle wrote: > Some btrfs-tools make use of "/dev/btrfs-control". > > How should I create this node? Is this a block or a character device (I > suppose > it should be a character device), which major and minor numbers should be > assigned? It's a char dev

[RFC PATCH 01/01] Btrfs: add decompression code for direct I/O.

2010-01-08 Thread jim owens
Direct I/O needs to inflate compressed temp pages with the uncompressed result stored in not-necessarily-aligned user memory. Add btrfs_zlib_inflate() to do this and expose struct workspace, find_zlib_workspace(), and free_workspace() so that multiple extents can be processed using one workspace.

[RFC PATCH 00/01] Btrfs: add decompression code for direct I/O.

2010-01-08 Thread jim owens
The following patch has the btrfs code changes/additions needed to support reading compressed data in my directio code. The code always runs in process context. The callbacks: int (*get_next_in)(struct bio_vec *vec, struct btrfs_inflate *icb); int (*get_next_out)(struct bio_vec *vec, struct btrf

/dev/btrfs-control

2010-01-08 Thread Michael Niederle
Some btrfs-tools make use of "/dev/btrfs-control". How should I create this node? Is this a block or a character device (I suppose it should be a character device), which major and minor numbers should be assigned? I do not use udev, so I have to create all device nodes "by hand" or "by script".

btrfs development git tree

2010-01-08 Thread Simon Schubert
Hey, I apologize for this ignorant question upfront, but: Where can I find a current btrfs git repo? The one linked from the wiki (I think cmason's unstable tree) did not update in the last 3 weeks, and I don't think nothing happened since then. Maybe the wiki could list also alternative repos

Re: snapshot/subvolume removal

2010-01-08 Thread TARUISI Hiroaki
For now, subvolumes and snapshots look like just directories. If you want to distinguish them, there's only an unusual way, that is, analyzing with btrfs-debug-tree. I posted patches for listing snapshots/subvolumes two months ago, and Josef Bacik posted its bugfix patch. This feature may be deliv