Whamcloud - gitweb
LU-13783 libcfs: support absence of account_page_dirtied 27/40827/6
authorMr NeilBrown <neilb@suse.de>
Thu, 29 Apr 2021 13:04:04 +0000 (09:04 -0400)
committerJames Simmons <jsimmons@infradead.org>
Thu, 29 Apr 2021 13:04:17 +0000 (09:04 -0400)
commit6be4b3118c16039cff52e9a781b7d1852489a969
tree391e7ae3a257512aa0cc6b7549d4600655fc3274
parent0b7ddf32e336b06d459880faf9831db43ffae9cf
LU-13783 libcfs: support absence of account_page_dirtied

Some kernels export neither account_page_dirtied nor
kallsyms_lookup_name.
For these kernels we need to use __set_page_dirty() and suffer the
cost of dropping an reclaiming the page-tree lock.

Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: I69d934480832f3909d3ec103f11e1d62489d70d7
lustre/include/lustre_compat.h
lustre/llite/vvp_dev.c
lustre/llite/vvp_io.c