diff options
author | Matthew Wilcox <willy@infradead.org> | 2019-03-01 11:12:41 -0800 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2019-03-01 17:24:48 -0800 |
commit | e4b3448bc346fedf36db64124a664a959995b085 (patch) | |
tree | b87a9328845723417fb3fec53b6403945a6b8009 /tools/perf/scripts/python/sctop.py | |
parent | 0cefc36b32b3a9ee9da9bd055810bf331e4243dd (diff) |
dax: Flush partial PMDs correctly
The radix tree would rewind the index in an iterator to the lowest index
of a multi-slot entry. The XArray iterators instead leave the index
unchanged, but I overlooked that when converting DAX from the radix tree
to the XArray. Adjust the index that we use for flushing to the start
of the PMD range.
Fixes: c1901cd33cf4 ("page cache: Convert find_get_entries_tag to XArray")
Cc: <stable@vger.kernel.org>
Reported-by: Piotr Balcer <piotr.balcer@intel.com>
Tested-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions