diff options
author | Vivek Goyal <[email protected]> | 2020-02-28 11:34:52 -0500 |
---|---|---|
committer | Dan Williams <[email protected]> | 2020-04-02 19:15:03 -0700 |
commit | f605a263e0690177ecc180417eacf2b5507dd177 (patch) | |
tree | 119fa2ae9f57012c245a3926830911327b2721b5 /scripts/bpf_helpers_doc.py | |
parent | 5d64efe79703c4de1f017af9f7643ead1dc85432 (diff) |
dax, pmem: Add a dax operation zero_page_range
Add a dax operation zero_page_range, to zero a page. This will also clear any
known poison in the page being zeroed.
As of now, zeroing of one page is allowed in a single call. There
are no callers which are trying to zero more than a page in a single call.
Once we grow the callers which zero more than a page in single call, we
can add that support. Primary reason for not doing that yet is that this
will add little complexity in dm implementation where a range might be
spanning multiple underlying targets and one will have to split the range
into multiple sub ranges and call zero_page_range() on individual targets.
Suggested-by: Christoph Hellwig <[email protected]>
Signed-off-by: Vivek Goyal <[email protected]>
Reviewed-by: Pankaj Gupta <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions