diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-05-05 03:32:51 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-05-05 20:27:19 +0200 |
commit | 7f0e07fb0289519af7e726e4f7b7118f7ecc979b (patch) | |
tree | 9d7a7a9b90996f8fde414ef87b8a0ccf03b17bc8 /fs/inode.c | |
parent | mm: stop accounting shadow entries (diff) | |
download | linux-7f0e07fb0289519af7e726e4f7b7118f7ecc979b.tar.xz linux-7f0e07fb0289519af7e726e4f7b7118f7ecc979b.zip |
dax: account DAX entries as nrpages
Simplify mapping_needs_writeback() by accounting DAX entries as pages
instead of exceptional entries.
Link: https://lkml.kernel.org/r/20201026151849.24232-4-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Tested-by: Vishal Verma <vishal.l.verma@intel.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/inode.c')
0 files changed, 0 insertions, 0 deletions