commit | 0ea805129d1bc5dacb588392d191f686c91a70bb | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Sat Oct 28 16:52:32 2017 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Sun Nov 05 16:41:56 2017 -0800 |
tree | 152f3e4f4422194e16f98428a87dbd732be87938 | |
parent | d62fe971485f15fa08fec2a75ac4e4ffead40a5a [diff] |
f2fs: give correct trimmed blocks in fstrim We have supported to issue discard in specified range during fstrim, it needs to return caller with successfully trimmed bytes in that range instead of bytes of invalid blocks which are scanned in checkpoint. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>