From: Cheng Yang chenyang.f...@cn.fujitsu.com
This patch adds the function to check correspondence
between block group, chunk and device extent.
Signed-off-by: Cheng Yang chenyang.f...@cn.fujitsu.com
Signed-off-by: Wang Shilong wangsl-f...@cn.fujitsu.com
Signed-off-by: Qu Wenruo quwen
be disabled and edit leaf without changing generation.
Which makes btrfs_commit_transation giving some ignorable warning.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
btrfs-corrupt-block.c | 218 ++
1 file changed, 201 insertions(+), 17 deletions
Some codes still use the cpu_to_lexx instead of the
BTRFS_SETGET_STACK_FUNCS declared in ctree.h.
Also added some BTRFS_SETGET_STACK_FUNCS for btrfs_header and
btrfs_super.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
btrfs-convert.c| 2 +-
btrfs-find-root.c | 6 +++---
btrfs
The btrfs_read_sys_array function uses 3 variants to read data from
super block.
But the three variants are related to each other, so the patch removes
unneeded extra variants and make code a little simpler.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
Reviewed-by: Miao Xie mi
The btrfs_read_sys_array function uses 3 variants to read data from
super block.
But the three variants are related to each other, so the patch removes
unneeded extra variants and make code a little simpler.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
Reviewed-by: Miao Xie mi
于 2013年07月03日 01:36, David Sterba 写道:
On Wed, Jun 26, 2013 at 01:27:08PM +0800, Qu Wenruo wrote:
--- a/btrfs-convert.c
+++ b/btrfs-convert.c
@@ -1802,7 +1802,7 @@ static int prepare_system_chunk_sb(struct
btrfs_super_block *super)
btrfs_set_stack_chunk_num_stripes(chunk, 1
于 2013年07月03日 01:26, David Sterba 写道:
That's a good cleanup, please send the kernel version as well.
david
I'll send the kernel patch asap.
--
-
Qu Wenruo
Development Dept.I
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
No. 6 Wenzhu
Some codes still use the cpu_to_lexx instead of the
BTRFS_SETGET_STACK_FUNCS declared in ctree.h.
Also added some BTRFS_SETGET_STACK_FUNCS for btrfs_header btrfs_timespec
and other structures.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
Reviewed-by: Miao Xie miao...@cn.fujitsu.com
---
fs
于 2013年07月08日 21:24, David Sterba 写道:
On Fri, Jul 05, 2013 at 10:01:30AM +0800, Qu Wenruo wrote:
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -2807,6 +2846,14 @@ static inline unsigned long btrfs_leaf_data(struct
extent_buffer *l)
/* struct btrfs_file_extent_item
Some codes still use the cpu_to_lexx instead of the
BTRFS_SETGET_STACK_FUNCS declared in ctree.h.
Also added some BTRFS_SETGET_STACK_FUNCS for btrfs_header btrfs_timespec
and other structures.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
Reviewed-by: Miao Xie miao...@cn.fujitsu.com
Reviewed
Some codes still use the cpu_to_lexx instead of the
BTRFS_SETGET_STACK_FUNCS declared in ctree.h.
Also added some BTRFS_SETGET_STACK_FUNCS for btrfs_header btrfs_timespec
and other structures.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
Reviewed-by: Miao Xie miao...@cn.fujitsu.com
Reviewed
Since the new chunk recovery patches are merged,
what about merging this patch to add chunk corruption function? :)
Qu
于 2013年06月07日 10:25, Qu Wenruo 写道:
Add chunk corrupt function to btrfs-corrupt-block.
This funtion can be used to delete or corrupt a given chunk or the whole
chunk tree
Update the usage strings of some cmds to keep the them consistent with
the source.
Also some minor changes are done to fit the man page syntax.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
btrfs.c | 2 +-
cmds-chunk.c | 2 +-
cmds-filesystem.c | 2 +-
cmds-inspect.c
@@
.TH BTRFS 8 btrfs btrfs
.\
.\ Man page written by Goffredo Baroncelli kreij...@inwind.it (Feb 2010)
+.\ Modified by Qu Wenruo quwen...@cn.fujitsu.com (Jun 2013)
.\
.SH NAME
btrfs \- control a btrfs filesystem
.SH SYNOPSIS
-\fBbtrfs\fP \fBsubvolume snapshot\fP\fI [-r] source [dest/]name\fP
Sorry for the late reply.
I checked the new man page, which seems OK for me.
Thank you.
Qu Wenruo
于 2013年08月06日 07:28, David Sterba 写道:
On Tue, Jul 23, 2013 at 10:43:22AM +0800, Qu Wenruo wrote:
Update the man page of btrfs command to keep up with new commands.
Thanks. Please check if I
: -2.27%
seq_del +0.94%
Other changes are smaller than 0.5% and can be ignored.
Since the tests are not enough and maybe unstable,
any further tests are welcome.
Qu Wenruo (9):
btrfs: Cleanup the unused struct async_sched.
btrfs: use kernel workqueue to replace
btrfs_workqueue use 2 workqueues to implement the original
btrfs_worker, one for the normal work and one for ordered work.
At this patch, high priority work queue is not added yet.
The high priority feature will be added in the following patches.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
Add high priority workqueue, which added a new workqueue to
btrfs_workqueue_struct.
Whether using the high priority workqueue must be decided at
initialization.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
fs/btrfs/bwq.c | 29 -
fs/btrfs/bwq.h | 8
Use the newly created btrfs_workqueue_struct to replace the original
fs_info-workers
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
fs/btrfs/ctree.h | 2 +-
fs/btrfs/disk-io.c | 36 +++-
fs/btrfs/super.c | 3 ++-
3 files changed, 18 insertions(+), 23
Since the patches before implemented the new kernel workqueue based
btrfs_worqueue_struct, the old btrfs workqueue(btrfs_worker) can be
removed without any problem.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
fs/btrfs/Makefile | 2 +-
fs/btrfs/async-thread.c | 714
The struct async_sched is not used by any codes and can be removed.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
fs/btrfs/volumes.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index 78b8717..12eaf89 100644
--- a/fs/btrfs/volumes.c
Much like the fs_info-workers, replace the fs_info-delalloc_workers
use the same btrfs_workqueue.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
fs/btrfs/ctree.h | 2 +-
fs/btrfs/disk-io.c | 14 +-
fs/btrfs/inode.c | 19 +--
fs/btrfs/super.c | 2 +-
4
to be queued.
Besides this, not much to worry about.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
fs/btrfs/ctree.h | 2 +-
fs/btrfs/disk-io.c | 10 --
fs/btrfs/super.c | 2 +-
fs/btrfs/volumes.c | 17 +
fs/btrfs/volumes.h | 2 +-
5 files changed, 16
.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
fs/btrfs/ctree.h | 39 +--
fs/btrfs/delayed-inode.c | 9 ++-
fs/btrfs/disk-io.c | 164 ++-
fs/btrfs/extent-tree.c | 6 +-
fs/btrfs/inode.c | 38 +--
fs/btrfs
the default value.
Since the thread_pool_size algorithm is not used, related codes should
also be changed.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
fs/btrfs/disk-io.c | 12 +++-
fs/btrfs/super.c | 3 +--
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/fs/btrfs
于 2013年09月11日 21:02, Stefan Behrens 写道:
On Wed, 11 Sep 2013 16:52:31 +0800, Qu Wenruo wrote:
Use the kernel workqueue to replace the btrfs_workers which are only
used as normal workqueue.
Other btrfs_workers will use some extra functions like requeue, high
priority and ordered work
The struct async_sched is not used by any codes and can be removed.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
fs/btrfs/volumes.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index 78b8717..12eaf89 100644
--- a/fs/btrfs/volumes.c
qgroup_rescan_workers allocation check.
--
Qu Wenruo (9):
btrfs: Cleanup the unused struct async_sched.
btrfs: use kernel workqueue to replace the btrfs_workers functions
btrfs: Added btrfs_workqueue_struct implemented ordered execution
based on kernel workqueue
btrfs: Add high priority
the default value.
Since the thread_pool_size algorithm is not used, related codes should
also be changed.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
fs/btrfs/disk-io.c | 12 +++-
fs/btrfs/super.c | 3 +--
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/fs/btrfs
Since the patches before implemented the new kernel workqueue based
btrfs_worqueue_struct, the old btrfs workqueue(btrfs_worker) can be
removed without any problem.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
fs/btrfs/Makefile | 2 +-
fs/btrfs/async-thread.c | 714
btrfs_workqueue use 2 workqueues to implement the original
btrfs_worker, one for the normal work and one for ordered work.
At this patch, high priority work queue is not added yet.
The high priority feature will be added in the following patches.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
fs/btrfs/ctree.h | 39 +--
fs/btrfs/delayed-inode.c | 9 ++-
fs/btrfs/disk-io.c | 164 ++-
fs/btrfs/extent-tree.c | 6 +-
fs/btrfs/inode.c | 38 +--
fs/btrfs
Use the newly created btrfs_workqueue_struct to replace the original
fs_info-workers
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
fs/btrfs/ctree.h | 2 +-
fs/btrfs/disk-io.c | 36 +++-
fs/btrfs/super.c | 3 ++-
3 files changed, 18 insertions(+), 23
Much like the fs_info-workers, replace the fs_info-delalloc_workers
use the same btrfs_workqueue.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
fs/btrfs/ctree.h | 2 +-
fs/btrfs/disk-io.c | 13 +
fs/btrfs/inode.c | 19 +--
fs/btrfs/super.c | 2 +-
4
Add high priority workqueue, which added a new workqueue to
btrfs_workqueue_struct.
Whether using the high priority workqueue must be decided at
initialization.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
fs/btrfs/bwq.c | 29 -
fs/btrfs/bwq.h | 8
于 2013年09月13日 09:29, Liu Bo 写道:
On Thu, Sep 12, 2013 at 04:08:17PM +0800, Qu Wenruo wrote:
Use the kernel workqueue to replace the btrfs_workers which are only
used as normal workqueue.
Other btrfs_workers will use some extra functions like requeue, high
priority and ordered work
于 2013年09月13日 01:37, David Sterba 写道:
On Thu, Sep 12, 2013 at 04:08:15PM +0800, Qu Wenruo wrote:
Use kernel workqueue and kernel workqueue based new btrfs_workqueue_struct to
replace
the old btrfs_workers.
The main goal is to reduce the redundant codes(800 lines vs 200 lines) and
try to get
于 2013年09月13日 09:47, Liu Bo 写道:
On Thu, Sep 12, 2013 at 04:08:24PM +0800, Qu Wenruo wrote:
The original btrfs_workers uses the fs_info-thread_pool_size as the
max_active, and the previous patches followed this way.
But the kernel workqueue has the default value(0) for workqueue,
and workqueue
于 2013年09月13日 11:15, Qu Wenruo 写道:
于 2013年09月13日 09:47, Liu Bo 写道:
On Thu, Sep 12, 2013 at 04:08:24PM +0800, Qu Wenruo wrote:
The original btrfs_workers uses the fs_info-thread_pool_size as the
max_active, and the previous patches followed this way.
But the kernel workqueue has the default
On thu, 12 Sep 2013 19:37:18 +0200, David Sterba wrote:
On Thu, Sep 12, 2013 at 04:08:15PM +0800, Qu Wenruo wrote:
Use kernel workqueue and kernel workqueue based new btrfs_workqueue_struct to
replace
the old btrfs_workers.
The main goal is to reduce the redundant codes(800 lines vs 200 lines
On Tue, 1 Oct 2013 16:50:50 +0200, David Sterba wrote:
On Fri, Sep 20, 2013 at 02:13:08PM +0800, Qu Wenruo wrote:
* WQ_MEM_RECLAIM for the scrub thread does not seem right
I think scrub_workers,scrub_wr_completion_workers still need WQ_MEM_RECLAIM.
However scrub_nocow_workers does not need
Before this patchset btrfsck with --init-csum-tree --extent-tree will
corrupt the btrfs fs.
This patch will add test case for the bug.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
tests/fsck-tests.sh | 49 +
1 file changed, 41 insertions
.
Also other error message in get_fslist is not needed since the functions
in utils.c should not print any thing and caller will handle the error.
This patch just remove the unneeded perror messages.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
utils.c | 6 +-
1 file changed, 1 insertion
When using gcc 4.8.2, -Wmaybe-uninitialized will report root_item may be
used uninitialized.
Since root_item_valid variant is used to determine the root_item valid,
it's a false alert and to avoid the warning, just init it on allocation.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
send
an independent high
workqueue without starving problem.
- Simplify the btrfs_alloc_workqueue parameters.
- Coding style cleanup.
- Remove the redundant _struct suffix.
v4-v5:
- Fix a multithread free-and-use bug reported by Josef and David.
Qu Wenruo (18):
btrfs: Cleanup the unused struct
Replace the fs_info-scrub_* with the newly created
btrfs_workqueue.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
Tested-by: David Sterba dste...@suse.cz
---
Changelog:
v1-v2:
None
v2-v3:
- Use the btrfs_workqueue_struct to replace submit_workers.
v3-v4:
- Use the simplified
Since all the btrfs_worker is replaced with the newly created
btrfs_workqueue, the old codes can be easily remove.
Signed-off-by: Quwenruo quwen...@cn.fujitsu.com
Tested-by: David Sterba dste...@suse.cz
---
Changelog:
v1-v2:
None
v2-v3:
- Reuse the old async-thred.[ch] files.
v3-v4:
- Reuse
The struct async_sched is not used by any codes and can be removed.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
Reviewed-by: Josef Bacik jba...@fusionio.com
Tested-by: David Sterba dste...@suse.cz
---
Changelog:
v1-v2:
None.
v2-v3:
None.
v3-v4:
None:
v4-v5:
None
---
fs/btrfs
Replace the fs_info-readahead_workers with the newly created
btrfs_workqueue.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
Tested-by: David Sterba dste...@suse.cz
---
Changelog:
v1-v2:
None
v2-v3:
- Use the btrfs_workqueue_struct to replace submit_workers.
v3-v4:
- Use the simplified
Replace the fs_info-rmw_workers with the newly created
btrfs_workqueue.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
Tested-by: David Sterba dste...@suse.cz
---
Changelog:
v1-v2:
None
v2-v3:
- Use the btrfs_workqueue_struct to replace submit_workers.
v3-v4:
- Use the simplified
Replace the fs_info-qgroup_rescan_worker with the newly created
btrfs_workqueue.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
Tested-by: David Sterba dste...@suse.cz
---
Changelog:
v1-v2:
None
v2-v3:
- Use the btrfs_workqueue_struct to replace submit_workers.
v3-v4:
- Use the simplified
as
many
ordered work as possible in the sequence they were queued.
At this patch, high priority work queue or thresholding is not added yet.
The high priority feature and thresholding will be added in the following
patches.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
Signed-off-by: Lai
long _struct suffix.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
Tested-by: David Sterba dste...@suse.cz
---
Changelog:
v3-v4:
- Remove the _struct suffix.
v4-v5:
None
---
fs/btrfs/async-thread.c | 66
fs/btrfs/async-thread.h | 34
Replace the fs_info-fixup_workers with the newly created
btrfs_workqueue.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
Tested-by: David Sterba dste...@suse.cz
---
Changelog:
v1-v2:
None
v2-v3:
- Use the btrfs_workqueue_struct to replace submit_workers.
v3-v4:
- Use the simplified
Much like the fs_info-workers, replace the fs_info-delalloc_workers
use the same btrfs_workqueue.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
Tested-by: David Sterba dste...@suse.cz
---
Changelog:
v1-v2:
None
v2-v3:
None
v3-v4:
- Use the simplified btrfs_alloc_workqueue API.
v4-v5
Much like the fs_info-workers, replace the fs_info-submit_workers
use the same btrfs_workqueue.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
Tested-by: David Sterba dste...@suse.cz
---
Changelog:
v1-v2:
None
v2-v3:
None
v3-v4:
- Use the simplified btrfs_alloc_workqueue API.
v4-v5
Replace the fs_info-delayed_workers with the newly created
btrfs_workqueue.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
Tested-by: David Sterba dste...@suse.cz
---
Changelog:
v1-v2:
None
v2-v3:
- Use the btrfs_workqueue_struct to replace submit_workers.
v3-v4:
- Use the simplified
Replace the fs_info-cache_workers with the newly created
btrfs_workqueue.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
Tested-by: David Sterba dste...@suse.cz
---
Changelog:
v1-v2:
None
v2-v3:
- Use the btrfs_workqueue_struct to replace submit_workers.
v3-v4:
- Use the simplified
Replace the fs_info-submit_workers with the newly created
btrfs_workqueue.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
Tested-by: David Sterba dste...@suse.cz
---
Changelog:
v1-v2:
None
v2-v3:
- Use the btrfs_workqueue_struct to replace submit_workers.
v3-v4:
- Use the simplified
Use the newly created btrfs_workqueue_struct to replace the original
fs_info-workers
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
Tested-by: David Sterba dste...@suse.cz
---
Changelog:
v1-v2:
None
v2-v3:
None
v3-v4:
- Use the simplified btrfs_alloc_workqueue API.
v4-v5:
None
---
fs
Replace the fs_info-endio_* workqueues with the newly created
btrfs_workqueue.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
Tested-by: David Sterba dste...@suse.cz
---
Changelog:
v1-v2:
None
v2-v3:
- Use the btrfs_workqueue_struct to replace submit_workers.
v3-v4:
- Use the simplified
on HDD.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
Tested-by: David Sterba dste...@suse.cz
---
Changelog:
v2-v3:
- Add thresholding mechanism to simulate the old thresholding mechanism.
- Will not enable thresholding when thresh is set to small value.
v3-v4:
None
v4-v5:
None
---
fs
Convert man page for btrfs-subvolume.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
Documentation/Makefile| 2 +-
Documentation/btrfs-subvolume.txt | 172 ++
2 files changed, 173 insertions(+), 1 deletion(-)
create mode 100644
Convert man page for btrfs-device subcommand.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
Documentation/Makefile | 2 +-
Documentation/btrfs-device.txt | 75 ++
2 files changed, 76 insertions(+), 1 deletion(-)
create mode 100644
for 'btrfs(8)'.
This time, man page will be written in human-friendly asciidoc grammar
and each commands of btrfs will have a separate man page, which I hope
can reduce the effort to maintain the man page.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
.gitignore
Convert man page for btrfstune.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
Documentation/Makefile | 2 +-
Documentation/btrfstune.txt | 47 +
2 files changed, 48 insertions(+), 1 deletion(-)
create mode 100644 Documentation
Convert man page for btrfs-map-logical.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
Documentation/Makefile | 2 +-
Documentation/btrfs-map-logical.txt | 49 +
2 files changed, 50 insertions(+), 1 deletion(-)
create mode 100644
Convert man page for mkfs.btrfs.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
Documentation/Makefile | 2 +-
Documentation/mkfs.btrfs.txt | 133 +++
2 files changed, 134 insertions(+), 1 deletion(-)
create mode 100644 Documentation
Convert man page for btrfs-show-super.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
Documentation/Makefile | 2 +-
Documentation/btrfs-show-super.txt | 53 ++
2 files changed, 54 insertions(+), 1 deletion(-)
create mode 100644
Convert man page for btrfsck.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
Documentation/Makefile| 2 +-
Documentation/btrfsck.txt | 55 +++
2 files changed, 56 insertions(+), 1 deletion(-)
create mode 100644 Documentation/btrfsck.txt
Convert man page for fsck.btrfs.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
Documentation/Makefile | 2 +-
Documentation/fsck.btrfs.txt | 51
2 files changed, 52 insertions(+), 1 deletion(-)
create mode 100644 Documentation
Since all man page are converted to the new asciidoc, the old man page
can be removed.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
Makefile | 4 +-
man/Makefile | 31 --
man/btrfs-convert.8.in | 33 --
man/btrfs-debug-tree.8.in | 35 --
man
Convert man page for btrfs-zero-log
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
Documentation/Makefile | 2 +-
Documentation/btrfs-zero-log.txt | 39 +++
2 files changed, 40 insertions(+), 1 deletion(-)
create mode 100644 Documentation
Convert man page for btrfs-image.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
Documentation/Makefile| 2 +-
Documentation/btrfs-image.txt | 70 +++
2 files changed, 71 insertions(+), 1 deletion(-)
create mode 100644 Documentation/btrfs
Convert man page for btrfs-replace.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
Documentation/Makefile | 2 +-
Documentation/btrfs-replace.txt | 76 +
2 files changed, 77 insertions(+), 1 deletion(-)
create mode 100644 Documentation
Convert man page for btrfs-check.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
Documentation/Makefile| 2 +-
Documentation/btrfs-check.txt | 45 +++
2 files changed, 46 insertions(+), 1 deletion(-)
create mode 100644 Documentation/btrfs
Convert man page for btrfs-convert.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
Documentation/Makefile | 2 +-
Documentation/btrfs-convert.txt | 49 +
2 files changed, 50 insertions(+), 1 deletion(-)
create mode 100644 Documentation
Convert man page for btrfs-find-root.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
Documentation/Makefile| 2 +-
Documentation/btrfs-find-root.txt | 45 +++
2 files changed, 46 insertions(+), 1 deletion(-)
create mode 100644 Documentation
Convert man page for btrfs-debug-tree.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
Documentation/Makefile | 2 +-
Documentation/btrfs-debug-tree.txt | 50 ++
2 files changed, 51 insertions(+), 1 deletion(-)
create mode 100644
Convert man page for btrfs-inspect-internal.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
Documentation/Makefile | 2 +-
Documentation/btrfs-inspect-internal.txt | 69
2 files changed, 70 insertions(+), 1 deletion(-)
create mode 100644
Convert man page for btrfs-rescue.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
Documentation/Makefile | 2 +-
Documentation/btrfs-rescue.txt | 60 ++
2 files changed, 61 insertions(+), 1 deletion(-)
create mode 100644 Documentation/btrfs
Convert man page for btrfs-receive.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
Documentation/Makefile | 2 +-
Documentation/btrfs-receive.txt | 58 +
2 files changed, 59 insertions(+), 1 deletion(-)
create mode 100644 Documentation
Convert man page for btrfs-send.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
Documentation/Makefile | 2 +-
Documentation/btrfs-send.txt | 60
2 files changed, 61 insertions(+), 1 deletion(-)
create mode 100644 Documentation/btrfs
Although the btrfs-dedup function is not available in mainline kernel,
add the man page any way and add a warning into it.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
Documentation/Makefile| 2 +-
Documentation/btrfs-dedup.txt | 51 +++
2
Convert man page for btrfs-balance.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
Documentation/Makefile | 2 +-
Documentation/btrfs-balance.txt | 77 +
2 files changed, 78 insertions(+), 1 deletion(-)
create mode 100644 Documentation
Convert man page for filesystem subcommand.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
Documentation/Makefile | 2 +-
Documentation/btrfs-filesystem.txt | 163 +
2 files changed, 164 insertions(+), 1 deletion(-)
create mode 100644
Convert and enhance the man page of btrfs-qgroup.
The original man page for btrfs-qgroup subcommand is almost useless for
new user(like me), so adds more information on it.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
Documentation/Makefile | 1 +
Documentation/btrfs
Convert man page for btrfs-scrub.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
Documentation/Makefile| 2 +-
Documentation/btrfs-scrub.txt | 98 +++
2 files changed, 99 insertions(+), 1 deletion(-)
create mode 100644 Documentation/btrfs
Convert man page for btrfs-quota.
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
Documentation/Makefile| 2 +-
Documentation/btrfs-quota.txt | 59 +++
2 files changed, 60 insertions(+), 1 deletion(-)
create mode 100644 Documentation/btrfs
于 2014年04月05日 04:29, Marc MERLIN 写道:
On Wed, Apr 02, 2014 at 04:29:25PM +0800, Qu Wenruo wrote:
+If the source device is not available anymore, or if the -r option is set,
+the data is built only using the RAID redundancy mechanisms.
+After completion of the operation, the source device
);
with
fs_info-scrub_wr_completion_workers = NULL;
as scrub wqs get created only on user's demand.
Patch skips not-created-yet workqueues.
Signed-off-by: Sergei Trofimovich sly...@gentoo.org
CC: Qu Wenruo quwen...@cn.fujitsu.com
CC: Chris Mason c...@fb.com
CC: Josef Bacik jba...@fb.com
CC
于 2014年04月05日 02:46, Marc MERLIN 写道:
On Wed, Apr 02, 2014 at 04:29:35PM +0800, Qu Wenruo wrote:
Convert man page for btrfs-zero-log
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
Documentation/Makefile | 2 +-
Documentation/btrfs-zero-log.txt | 39
Itoh t-i...@jp.fujitsu.com
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
Cc: Anand Jain anand.j...@oracle.com
---
cmds-filesystem.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/cmds-filesystem.c b/cmds-filesystem.c
index b81768b..49d3aa7 100644
--- a/cmds
,
however below fix has a problem - when there is no search item
you would return fail (1) always. Since btrfs_scan_kernel() has
limited usage as you mention as well. So I will leave it to David
to decide.
Thanks, Anand
On 08/04/2014 17:16, Qu Wenruo wrote:
btrfs_scan_kernel() is only used
the disk remove test in
btrfs/003 first.
(Though I think it could be much harder to archieve it)
If xfstests devs can be persuaded and NOTE added to btrfs-progs document,
I'll be completely OK for the revert of this patch.
On 09/04/2014 11:26, Qu Wenruo wrote:
Yes, the deleted device scan
,
a error message, which can be avoided and is unneeded, is output.
This patch will force scan_for_btrfs() not to use cache to avoid the
problem.
Reported-by: Tsutomu Itoh t-i...@jp.fujitsu.com
Singed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
utils.c | 3 ++-
1 file changed, 2 insertions(+), 1
Add device management related paragraph to better explain btrfs device
management.
Cc: Marc MERLIN m...@merlins.org
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
Documentation/btrfs-balance.txt | 3 +++
Documentation/btrfs-device.txt | 42
Add more explain on btrfs-zero-log about when to use it.
Cc: Marc MERLIN m...@merlins.org
Signed-off-by: Qu Wenruo quwen...@cn.fujitsu.com
---
Documentation/btrfs-zero-log.txt | 18 ++
1 file changed, 18 insertions(+)
diff --git a/Documentation/btrfs-zero-log.txt b/Documentation
Original Message
Subject: Re: [PATCH 1/2] btrfs-progs: Add device management related
paragraph.
From: Marc MERLIN m...@merlins.org
To: Qu Wenruo quwen...@cn.fujitsu.com
Date: 2014年04月11日 14:10
On Fri, Apr 11, 2014 at 10:43:52AM +0800, Qu Wenruo wrote:
Add device management
Thanks for fixing the problems.
Qu
Original Message
Subject: Re: [PATCH 1/2] btrfs-progs: Add device management related
paragraph.
From: David Sterba dste...@suse.cz
To: Liu Bo bo.li@oracle.com
Date: 2014年04月12日 01:34
On Fri, Apr 11, 2014 at 05:16:22PM +0800, Liu Bo
1 - 100 of 5771 matches
Mail list logo