f2fs: add node_io_flag for bio flags likewise data_io_flag
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 4 Jun 2020 18:49:43 +0000 (11:49 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 9 Jun 2020 03:37:54 +0000 (20:37 -0700)
commit32b6aba85c8dbd1d3a155543986574c6969f0a48
tree49a3a6da94107e3cdd2fbc060133af680d5f5412
parentbc67c5d0ce406522cc846159f6a0dc0180be58d6
f2fs: add node_io_flag for bio flags likewise data_io_flag

This patch adds another way to attach bio flags to node writes.

Description:   Give a way to attach REQ_META|FUA to node writes
               given temperature-based bits. Now the bits indicate:
               *      REQ_META     |      REQ_FUA      |
               *    5 |    4 |   3 |    2 |    1 |   0 |
               * Cold | Warm | Hot | Cold | Warm | Hot |

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Documentation/ABI/testing/sysfs-fs-f2fs
fs/f2fs/data.c
fs/f2fs/f2fs.h
fs/f2fs/sysfs.c