* [PATCH] mm: fix SYNC_FILE_RANGE_WRITE to not block
@ 2013-02-26 17:03 Phillip Susi
0 siblings, 0 replies; only message in thread
From: Phillip Susi @ 2013-02-26 17:03 UTC (permalink / raw)
To: linux-mm; +Cc: Phillip Susi
This mode of sync_file_range isn't supposed to block.
Signed-off-by: Phillip Susi <psusi@ubuntu.com>
---
mm/filemap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/filemap.c b/mm/filemap.c
index c571bae..c5e2036 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -232,7 +232,7 @@ EXPORT_SYMBOL(filemap_fdatawrite);
int filemap_fdatawrite_range(struct address_space *mapping, loff_t start,
loff_t end)
{
- return __filemap_fdatawrite_range(mapping, start, end, WB_SYNC_ALL);
+ return __filemap_fdatawrite_range(mapping, start, end, WB_SYNC_NONE);
}
EXPORT_SYMBOL(filemap_fdatawrite_range);
--
1.7.9.5
--
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>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-02-26 17:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-26 17:03 [PATCH] mm: fix SYNC_FILE_RANGE_WRITE to not block Phillip Susi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).