f2fs: detect host-managed SMR by feature flag
authorJaegeuk Kim <jaegeuk@kernel.org>
Mon, 13 Jun 2016 16:47:48 +0000 (09:47 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 6 Jul 2016 17:44:07 +0000 (10:44 -0700)
commit52763a4b7a2112743745c5bbfe43fe6f54d4b39a
tree42b1ca3efc444ed16b29796fd13d7054737ab20c
parent67c3758d2267de589ee9a8856fe637cce85993d9
f2fs: detect host-managed SMR by feature flag

If mkfs.f2fs gives a feature flag for host-managed SMR, we can set mode=lfs
by default.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c
fs/f2fs/f2fs.h
fs/f2fs/segment.c
fs/f2fs/super.c