diff options
author | Shiyang Ruan <ruansy.fnst@fujitsu.com> | 2021-08-10 18:33:15 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-08-16 21:26:33 -0700 |
commit | c2436190e492b243235262fc080a2c3189021be9 (patch) | |
tree | b834281f6c595bd5885ded6c6ea80f91ba7e2aaa /drivers/md/raid5-ppl.c | |
parent | 55f81639a7152848f204f9af3f9b1a14a5944be1 (diff) | |
download | linux-c2436190e492b243235262fc080a2c3189021be9.tar.bz2 |
fsdax: factor out a dax_fault_actor() helper
The core logic in the two dax page fault functions is similar. So, move
the logic into a common helper function. Also, to facilitate the
addition of new features, such as CoW, switch-case is no longer used to
handle different iomap types.
Signed-off-by: Shiyang Ruan <ruansy.fnst@fujitsu.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ritesh Harjani <riteshh@linux.ibm.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'drivers/md/raid5-ppl.c')
0 files changed, 0 insertions, 0 deletions