Re: [PATCH 1/4] btrfs-progs: adjust the return values for scrub

2014-07-30 Thread Gui Hecheng
Hi Satoru, I just give a reply to the former 2 mails together here. On Wed, 2014-07-30 at 15:36 +0900, Satoru Takeuchi wrote: > Hi Gui, > > (2014/07/30 15:03), Satoru Takeuchi wrote: > > Hi Gui, > > > > (2014/07/17 11:40), Gui Hecheng wrote: > >> o Return 0 to indicate success, > >> when det

Re: [PATCH 1/4] btrfs-progs: adjust the return values for scrub

2014-07-29 Thread Satoru Takeuchi
Hi Gui, (2014/07/30 15:03), Satoru Takeuchi wrote: > Hi Gui, > > (2014/07/17 11:40), Gui Hecheng wrote: >> o Return 0 to indicate success, >> when detected errors were corrected during scrubbing. >> P.s. This is also to facilitate scripting when return value >> is to be checked.

Re: [PATCH 1/4] btrfs-progs: adjust the return values for scrub

2014-07-29 Thread Satoru Takeuchi
Hi Gui, (2014/07/17 11:40), Gui Hecheng wrote: > o Return 0 to indicate success, >when detected errors were corrected during scrubbing. >P.s. This is also to facilitate scripting when return value > is to be checked. > o Warn the users if there are uncorrectable errors detected. >

[PATCH 1/4] btrfs-progs: adjust the return values for scrub

2014-07-16 Thread Gui Hecheng
o Return 0 to indicate success, when detected errors were corrected during scrubbing. P.s. This is also to facilitate scripting when return value is to be checked. o Warn the users if there are uncorrectable errors detected. Signed-off-by: Gui Hecheng --- cmds-scrub.c | 13 ---