search for: do_balance

Displaying 5 results from an estimated 5 matches for "do_balance".

Did you mean: _balance
2013 Aug 20
7
[PATCH] btrfs-progs: use btrfs error code for kernel errors
...mds-device.c | 7 ++++++- cmds-filesystem.c | 6 +++++- cmds-replace.c | 7 ++++++- 4 files changed, 32 insertions(+), 3 deletions(-) diff --git a/cmds-balance.c b/cmds-balance.c index c78b726..30019be 100644 --- a/cmds-balance.c +++ b/cmds-balance.c @@ -316,6 +316,12 @@ static int do_balance(const char *path, struct btrfs_ioctl_balance_args *args, if (ret == 0) goto out; e = errno; + if (ret > 0) { + fprintf(stderr, + "ERROR: Balance failed due to - %s\n", + btrfs_err_str(ret)); + goto out; + } } if (e == ECANCELED) { @@ -332,6 +338,1...
2012 Feb 03
10
[PATCH 0/3] Btrfs-progs: restriper interface
Hello, This is the userspace part of restriper, rebased onto the new progs infrastructure. Restriper commands are located under ''balance'' prefix, which is now the top level command group. However to not confuse existing users ''balance'' prefix is also available under ''filesystem'': btrfs [filesystem] balance start btrfs [filesystem] balance
2010 Dec 11
1
[RFC] Improve btrfs subvolume find-new command
...ume(int nargs, char **argv); int do_create_subvol(int nargs, char **argv); int do_fssync(int nargs, char **argv); int do_defrag(int argc, char **argv); +int do_get_latest_gen(int argc, char **argv); int do_show_filesystem(int nargs, char **argv); int do_add_volume(int nargs, char **args); int do_balance(int nargs, char **argv); @@ -30,5 +31,6 @@ int do_subvol_list(int nargs, char **argv); int do_set_default_subvol(int nargs, char **argv); int list_subvols(int fd); int do_df_filesystem(int nargs, char **argv); -int find_updated_files(int fd, u64 root_id, u64 oldest_gen); +int find_updated_files(...
2011 Jul 18
5
[PATCH v3 0/5] btrfs-progs: scrub interface
This is the next patch series for scrub userland tools. Change log v1->v2: - commands now reachable as "btrfs scrub ..." instead of "btrfs filesystem scrub ..." - ability to scrub a single device instead of a whole file system - superfluous command line options removed - resume is now a separate command ("scrub resume") instead of "scrub start -r" -
2011 Jul 19
6
[PATCH 0/6] Move the infor for the help/man page in the source
The following series implement a way to generate the help messages and the btrfs man page from the sources comments for the "btrfs" commanda . The syntax and the detailed help of every subcommand are stored in the comments before the function which implements the subcommand. The fact that the help messages and the man page are generated from the same source should help to avoid