Skip to content
Commit 689fe57e authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

f2fs: allow direct read for zoned device

This reverts dbf8e63f ("f2fs: remove device type check for direct IO"),
and apply the below first version, since it contributed out-of-order DIO writes.

For zoned devices, f2fs forbids direct IO and forces buffered IO
to serialize write IOs. However, the constraint does not apply to
read IOs.

Cc: stable@vger.kernel.org
Fixes: dbf8e63f

 ("f2fs: remove device type check for direct IO")
Signed-off-by: default avatarEunhee Rho <eunhee83.rho@samsung.com>
Reviewed-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 95fa90c9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment