Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1489759
| From | Chao Yu <yuchao0@huawei.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/3] f2fs: adjust display format of segment bit |
| Date | 2016-09-23 07:30 +0200 |
| Message-ID | <skrdE-7Yp-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Just adjust segment bit info printed in procfs. Before: 1008 5|0 |0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1009 3|183|0 0 61 20 20 0 0 21 80 c0 2 e4 e 54 0 21 21 17 a 44 d0 28 e4 50 40 30 8 0 2d 32 0 5 b0 80 1 43 2 8e f8 7b 2 25 93 bf e0 73 8e 9a 19 44 60 ff e4 cc e6 8e bf f9 ff 5 3d 31 3d 13 1010 3|1 |0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 40 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 After: 1008 5|0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1009 4|434| ff 7d ff bf d9 3f ff e7 ff bf d7 bf ff bb be ff fb df f7 fb fa bf fb fe bb df dd ff fe ef ff fe ef e2 27 bf ab bf fb df fd bd bf fb db fc ff ff 3f ff ff bf ff 5f db 3f fb fb bf fb bf 4f ff ef 1010 4|422| ff bb fe ff ef d7 ee ff ff fc bf ef 7d eb ec fd fb 3f 97 7f ef ff af ff db ff ff 69 bf ff f6 e7 ff fb f7 7b fb df be ff ff ef f3 fe ff ff df fe f7 fa ff b7 77 be fe fb a9 7f 87 a2 ac c7 ff 75 Signed-off-by: Chao Yu <yuchao0@huawei.com> --- fs/f2fs/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index e7bb153..6426855 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c @@ -954,7 +954,7 @@ static int segment_bits_seq_show(struct seq_file *seq, void *offset) seq_printf(seq, "%d|%-3u|", se->type, get_valid_blocks(sbi, i, 1)); for (j = 0; j < SIT_VBLOCK_MAP_SIZE; j++) - seq_printf(seq, "%x ", se->cur_valid_map[j]); + seq_printf(seq, " %.2x", se->cur_valid_map[j]); seq_putc(seq, '\n'); } return 0; -- 2.8.2.311.gee88674
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 1/3] f2fs: adjust display format of segment bit Chao Yu <yuchao0@huawei.com> - 2016-09-23 07:30 +0200
[PATCH 2/3] f2fs: support checkpoint error injection Chao Yu <yuchao0@huawei.com> - 2016-09-23 07:30 +0200
Re: [PATCH 2/3] f2fs: support checkpoint error injection Jaegeuk Kim <jaegeuk@kernel.org> - 2016-09-24 02:00 +0200
Re: [PATCH 2/3] f2fs: support checkpoint error injection Chao Yu <yuchao0@huawei.com> - 2016-09-24 02:50 +0200
Re: [PATCH 2/3] f2fs: support checkpoint error injection Jaegeuk Kim <jaegeuk@kernel.org> - 2016-09-24 03:00 +0200
Re: [PATCH 2/3] f2fs: support checkpoint error injection Chao Yu <yuchao0@huawei.com> - 2016-09-24 05:40 +0200
Re: [PATCH 2/3] f2fs: support checkpoint error injection Jaegeuk Kim <jaegeuk@kernel.org> - 2016-09-24 20:20 +0200
Re: [PATCH 2/3] f2fs: support checkpoint error injection Chao Yu <yuchao0@huawei.com> - 2016-09-26 03:10 +0200
[PATCH 3/3] f2fs: fix potential deadlock when hitting checkpoint error Chao Yu <yuchao0@huawei.com> - 2016-09-23 07:30 +0200
csiph-web