f2fs: check discard alignment only for SEQWRITE zones
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 23 Feb 2017 04:18:35 +0000 (20:18 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 27 Feb 2017 17:59:46 +0000 (09:59 -0800)
commit92592285710aebe2de9afa38315b5c3914556905
tree7f341a1452c08d751be4a458fa7b6597ca033d75
parent40465257ac4159e9ebfba10ee502e795b917da76
f2fs: check discard alignment only for SEQWRITE zones

For converntional zones, we don't need to align discard commands to exact zone
size.

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c