summaryrefslogtreecommitdiffstats
path: root/block/bio.c
diff options
context:
space:
mode:
authorChao Yu <chao2.yu@samsung.com>2015-02-28 17:23:30 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2015-04-10 15:08:31 -0700
commitb28c3f94933dae663eeca24637bf9ff962bf02dc (patch)
treee835601539134540ca01ec2eb1412d30cd15a718 /block/bio.c
parent7ecebe5e07958a0b7e54a560dbc24144287c6b41 (diff)
downloadblackbird-op-linux-b28c3f94933dae663eeca24637bf9ff962bf02dc.tar.gz
blackbird-op-linux-b28c3f94933dae663eeca24637bf9ff962bf02dc.zip
f2fs: fix to issue small discard in real-time mode discard
Now in f2fs, we share functions and structures for batch mode and real-time mode discard. For real-time mode discard, in shared function add_discard_addrs, we will use uninitialized trim_minlen in struct cp_control to compare with length of contiguous free blocks to decide whether skipping discard fragmented freespace or not, this makes us ignore small discard sometimes. Fix it. Signed-off-by: Chao Yu <chao2.yu@samsung.com> Reviewed-by : Changman Lee <cm224.lee@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'block/bio.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud