For DAX inodes we need to be careful to never have page cache pages in the
mapping->page_tree. This radix tree should be composed only of DAX
exceptional entries and zero pages.
ltp's readahead02 test was triggering a warning because we were trying to
insert a DAX exceptional entry but found that a page cache page had already
been inserted into the tree. This page was being inserted into the radix
tree in response to a readahead(2) call.
Readahead doesn't make sense for DAX inodes, but we don't want it to report
a failure either. Instead, we just return success and don't do any work.
Signed-off-by: Ross Zwisler <ross.zwisler(a)linux.intel.com>
Reported-by: Jeff Moyer <jmoyer(a)redhat.com>
mm/readahead.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/mm/readahead.c b/mm/readahead.c
index 65ec288..a9ba1be 100644
@@ -8,6 +8,7 @@
@@ -544,6 +545,9 @@ do_readahead(struct address_space *mapping, struct file *filp,
if (!mapping || !mapping->a_ops)
+ if (dax_mapping(mapping))
+ return 0;
return force_page_cache_readahead(mapping, filp, index, nr);
Add a new api, ndctl_dimm_get_health_eventfd(), and test that the kernel
signals an event on that file descriptor after a smart-threshold
Also, include a new gate for the SMART verification test to await when
nfit_test is updated to emit the new v1.2 format of the SMART DSM
Dan Williams (3):
test: gate SMART payload verification on v4.9
ndctl: add ndctl_dimm_get_health_eventfd() api
test: validate ndctl_dimm_get_health_eventfd()
ndctl/lib/libndctl.c | 11 +++++++++
ndctl/lib/libndctl.sym | 1 +
ndctl/libndctl.h.in | 1 +
test/libndctl.c | 61 ++++++++++++++++++++++++++++++++++++++++++++----
4 files changed, 69 insertions(+), 5 deletions(-)
I hope all is well with you.
Would you be interested in obtaining updated Suse Tradeshow contact information for your marketing campaigns?
We provide direct marketing, telemarketing leads, data appending solutions, Data appending solutions, Center Analytics, Analytics and Automation Software, Partners, Sponsors and much more, all over the world!
Note: If Suse users are not relevant to you, Please reply with your target audience, or the industry you'd prefer to target with your marketing campaigns.We have all types of target markets available.
Please let me know your thoughts, and I will get back to you with additional information and/or to help you place your order today.
List acquisition | Technology Lists | Email/Data Appending | Search Engine Optimization