Displaying 9 results from an estimated 9 matches for "btrfsscrub_super_error".
Did you mean:
btrfsscrub_super_errors
2015 Feb 02
0
[PATCH 2/2] New API: btfs_scrub_status.
...b_no_csum) != 1)
+ goto error;
+ line = lines[10];
+ if (sscanf (line, "\tcsum_discards: %" SCNu64,
+ &ret->btrfsscrub_csum_discards) != 1)
+ goto error;
+ line = lines[11];
+ if (sscanf (line, "\tsuper_errors: %" SCNu64,
+ &ret->btrfsscrub_super_errors) != 1)
+ goto error;
+ line = lines[12];
+ if (sscanf (line, "\tmalloc_errors: %" SCNu64,
+ &ret->btrfsscrub_malloc_errors) != 1)
+ goto error;
+ line = lines[13];
+ if (sscanf (line, "\tuncorrectable_errors: %" SCNu64,
+ &ret->...
2015 Feb 11
0
[PATCH v3 2/2] New API: btfs_scrub_status
...amp; sscanf (lines[i], "\tcsum_discards: %" SCNu64,
+ &ret->btrfsscrub_csum_discards) != 1)
+ goto error;
+ else if ((i == 11) && sscanf (lines[i], "\tsuper_errors: %" SCNu64,
+ &ret->btrfsscrub_super_errors) != 1)
+ goto error;
+ else if ((i == 12) && sscanf (lines[i], "\tmalloc_errors: %" SCNu64,
+ &ret->btrfsscrub_malloc_errors) != 1)
+ goto error;
+ else if ((i == 13) && sscanf (lines[i], "\tuncorrectable_errors...
2015 Feb 02
5
[PATCH 1/2] New API: btrfs_balance_status
Signed-off-by: Hu Tao <hutao at cn.fujitsu.com>
---
These two patches are refactored to parse the output info structures.
daemon/btrfs.c | 109 +++++++++++++++++++++++++++++++
generator/actions.ml | 10 +++
generator/structs.ml | 12 ++++
gobject/Makefile.inc | 2 +
java/Makefile.inc
2015 Feb 03
2
[PATCH v2 0/2] add btrfs_balance_status and btrfs_scrub_status
changes in v2:
- add check for the length of lines[]
- the code parsing 'btrfs scrub -R status' output is changed into a loop
Hu Tao (2):
New API: btrfs_balance_status
New API: btfs_scrub_status.
daemon/btrfs.c | 263 +++++++++++++++++++++++++++++++
generator/actions.ml | 26 +++
generator/structs.ml | 34 ++++
2015 Feb 15
4
[PATCH v5 0/2] add btrfs_balance_status and btrfs_scrub_status
v5:
- fix tests failure
v4:
- add reply_with_error when nlines < 1
- remove `i == X' tests.
v3:
- rebase on upstream
- fix some comments
v2:
- add check for the length of lines[]
- the code parsing 'btrfs scrub -R status' output is changed into a loop
Hu Tao (2):
New API: btrfs_balance_status
New API: btfs_scrub_status
daemon/btrfs.c
2015 Feb 11
4
[PATCH v3 0/2] add btrfs_balance_status and btrfs_scrub_status
v3:
- rebase on upstream
- fix some comments
v2:
- add check for the length of lines[]
- the code parsing 'btrfs scrub -R status' output is changed into a loop
Hu Tao (2):
New API: btrfs_balance_status
New API: btfs_scrub_status
daemon/btrfs.c | 263 +++++++++++++++++++++++++++++++
generator/actions.ml | 26 +++
2015 Feb 13
3
[PATCH v4 0/2] add btrfs_balance_status and btrfs_scrub_status
v4:
- add reply_with_error when nlines < 1
- remove `i == X' tests.
v3:
- rebase on upstream
- fix some comments
v2:
- add check for the length of lines[]
- the code parsing 'btrfs scrub -R status' output is changed into a loop
Hu Tao (2):
New API: btrfs_balance_status
New API: btfs_scrub_status
daemon/btrfs.c | 268
2015 Oct 05
0
[PATCH 2/2] Fix whitespace.
...tcsum_discards: %" SCNu64,
- &ret->btrfsscrub_csum_discards) == 1)
+ &ret->btrfsscrub_csum_discards) == 1)
continue;
else if (sscanf (lines[i], "\tsuper_errors: %" SCNu64,
- &ret->btrfsscrub_super_errors) == 1)
+ &ret->btrfsscrub_super_errors) == 1)
continue;
else if (sscanf (lines[i], "\tmalloc_errors: %" SCNu64,
- &ret->btrfsscrub_malloc_errors) == 1)
+ &ret->btrfsscrub_malloc_errors) == 1)
continue;...
2015 Oct 05
3
[PATCH 1/2] Change 'fprintf (stdout,...)' -> printf.
Result of earlier copy and paste.
---
align/scan.c | 35 ++++++++++---------
cat/cat.c | 39 +++++++++++----------
cat/filesystems.c | 69 +++++++++++++++++++-------------------
cat/log.c | 35 ++++++++++---------
cat/ls.c | 61 +++++++++++++++++----------------
df/main.c | 43 ++++++++++++------------
diff/diff.c | 67