]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: Check zoned block feature for host-managed zoned block devices
authorDamien Le Moal <damien.lemoal@wdc.com>
Fri, 28 Oct 2016 08:45:01 +0000 (17:45 +0900)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 23 Nov 2016 20:11:17 +0000 (12:11 -0800)
commit1e2348a34d947aba150683867453cad1316475b2
tree4c2d67d68d3ca591b7a6d90d7057a3910e9ed392
parent395b77806a43b43f2aa98114dfefdeedf8f985cf
f2fs: Check zoned block feature for host-managed zoned block devices

The F2FS_FEATURE_BLKZONED feature indicates that the drive was formatted
 with zone alignment optimization. This is optional for host-aware
devices, but mandatory for host-managed zoned block devices.
So check that the feature is set in this latter case.

Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c