Re: [PATCH v6 4/5] fs, xfs: introduce MAP_DIRECT for creating block-map-atomic file ranges

From
Christoph Hellwig <hch@lst.de>
Date
2017-08-24 16:39:25
Also in
linux-fsdevel, linux-mm, linux-xfs, lkml, nvdimm
Reply to
Dan Williams, 2017-08-24
On Thu, Aug 24, 2017 at 09:31:17AM -0700, Dan Williams wrote:
External agent is a DMA device, or a hypervisor like Xen. In the DMA
case perhaps we can use the fcntl lease mechanism, I'll investigate.
In the Xen case it actually would need to use fiemap() to discover the
physical addresses that back the file to setup their M2P tables.
Here's the discussion where we discovered that physical address
dependency:

    https://lists.xen.org/archives/html/xen-devel/2017-04/msg00419.html
fiemap does not work to discover physical addresses.  If they want
to do anything involving physical address they will need a kernel
driver.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Thread (32 messages) 32 messages, 7 authors, last reply 2017-08-26
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help