[RAMEN9610-8702][COMMON] f2fs: Set the bio REQ_NOENCRYPT flag
authorMichael Halcrow <mhalcrow@google.com>
Tue, 13 Jun 2017 20:59:40 +0000 (13:59 -0700)
committerhskang <hs1218.kang@samsung.com>
Thu, 22 Nov 2018 11:26:58 +0000 (20:26 +0900)
commitc2f22fd25d9ab0bec50d55ad5d92781c47baaa0a
treeb46a5ac6bfc7fcc81f2ba757c285dc048dcd8506
parent479ea86c7626f3c6b4e6c8f775d8a8dde4bce53e
[RAMEN9610-8702][COMMON] f2fs: Set the bio REQ_NOENCRYPT flag

When lower layers such as dm-crypt observe the REQ_NOENCRYPT flag, it
helps the I/O stack avoid redundant encryption, improving performance
and power utilization.

Note that lower layers must be consistent in their observation of this
flag in order to avoid the possibility of data corruption.

Conflicts:
fs/f2fs/data.c

Signed-off-by: Michael Halcrow <mhalcrow@google.com>
Change-Id: Icf8bf3ae30395cf5428b2eae071d227e8ebe6e40
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
fs/f2fs/data.c