From: Phillip Susi <psusi@ubuntu.com>
To: linux-mm@kvack.org
Cc: Phillip Susi <psusi@ubuntu.com>
Subject: [PATCH] mm: fix SYNC_FILE_RANGE_WRITE to not block
Date: Tue, 26 Feb 2013 12:03:30 -0500 [thread overview]
Message-ID: <1361898210-1980-1-git-send-email-psusi@ubuntu.com> (raw)
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>
reply other threads:[~2013-02-26 17:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1361898210-1980-1-git-send-email-psusi@ubuntu.com \
--to=psusi@ubuntu.com \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox