Chao Yu b28c3f9493 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>
2015-04-10 15:08:31 -07:00
..
2014-08-08 15:57:24 -07:00
2015-02-16 17:56:03 -08:00
2014-08-07 14:40:09 -04:00
2015-02-13 21:21:36 -08:00
2015-02-15 11:11:47 -08:00
2015-02-05 16:34:25 +01:00
2014-11-19 13:01:20 -05:00
2015-02-20 04:56:44 -05:00
2015-02-16 17:56:04 -08:00
2014-05-06 17:39:42 -04:00
2014-04-01 23:19:08 -04:00
2015-01-29 00:13:13 -05:00
2014-08-26 09:35:56 +02:00
2014-11-19 13:01:26 -05:00