IWAMOTO Toshihiro [off-list ref] wrote:
- If a page is in mapping->io_pages when remap happens, it will be
moved to dirty_pages. Tracking page->list to find out the list
which page is connected to would be too expensive, and I have no other
idea.
That sounds like a reasonable thing to do. The only impact would be that
an fsync() which is currently in progress could fail to write the page, so
the page is still dirty after the fsync() returns.
If this is the biggest problem, you've done well ;)
--
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:"aart@kvack.org"> aart@kvack.org </a>