summaryrefslogtreecommitdiff
path: root/samples/Kconfig
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2017-02-27 19:57:11 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-12 05:41:51 (GMT)
commit8c53efc399565ef4be8945c9bf45c94153699221 (patch)
tree682254009a05ad494d229ff7f35bb77cff9aea8e /samples/Kconfig
parent4992ba2840bd40a85887a1a0e5d69f688f58f9dd (diff)
downloadlinux-8c53efc399565ef4be8945c9bf45c94153699221.tar.xz
f2fs: avoid to issue redundant discard commands
commit 8b107f5b97772c7c0c218302e9a4d15b4edf50b4 upstream. If segs_per_sec is over 1 like under SMR, previously f2fs issues discard commands redundantly on the same section, since we didn't move end position for the previous discard command. E.g., start end | | prefree_bitmap = [01111100111100] And, after issue discard for this section, end start | | prefree_bitmap = [01111100111100] Select this section again by searching from (end + 1), start end | | prefree_bitmap = [01111100111100] Fixes: 36abef4e796d38 ("f2fs: introduce mode=lfs mount option") Cc: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples/Kconfig')
0 files changed, 0 insertions, 0 deletions