* [gentoo-commits] linux-patches r2650 - genpatches-2.6/trunk/3.13
@ 2014-01-23 18:31 Mike Pagano (mpagano)
0 siblings, 0 replies; only message in thread
From: Mike Pagano (mpagano) @ 2014-01-23 18:31 UTC (permalink / raw
To: gentoo-commits
Author: mpagano
Date: 2014-01-23 18:31:00 +0000 (Thu, 23 Jan 2014)
New Revision: 2650
Added:
genpatches-2.6/trunk/3.13/1900_frozen-fs-time-update.patch
Modified:
genpatches-2.6/trunk/3.13/0000_README
Log:
Skip file_update_time on frozen fs
Modified: genpatches-2.6/trunk/3.13/0000_README
===================================================================
--- genpatches-2.6/trunk/3.13/0000_README 2014-01-21 15:00:14 UTC (rev 2649)
+++ genpatches-2.6/trunk/3.13/0000_README 2014-01-23 18:31:00 UTC (rev 2650)
@@ -50,7 +50,12 @@
From: https://bugs.gentoo.org/show_bug.cgi?id=449248
Desc: Enable mic mute led in thinkpads
+Patch: 1900_frozen-fs-time-update.patch
+From: https://bugs.gentoo.org/show_bug.cgi?id=493002
+Desc: Skip file_update_time on frozen fs
+
Patch: 2400_kcopy-patch-for-infiniband-driver.patch
+Patch: 2400_kcopy-patch-for-infiniband-driver.patch
From: Alexey Shvetsov <alexxy@gentoo.org>
Desc: Zero copy for infiniband psm userspace driver
Added: genpatches-2.6/trunk/3.13/1900_frozen-fs-time-update.patch
===================================================================
--- genpatches-2.6/trunk/3.13/1900_frozen-fs-time-update.patch (rev 0)
+++ genpatches-2.6/trunk/3.13/1900_frozen-fs-time-update.patch 2014-01-23 18:31:00 UTC (rev 2650)
@@ -0,0 +1,31 @@
+From a529bbf697530e4c57ba8293b0d659c46e50d3ad Mon Sep 17 00:00:00 2001
+From: Dmitry Monakhov <dmonakhov@openvz.org>
+Date: Wed, 15 Jan 2014 05:55:43 +0000
+Subject: fs/pipe.c: skip file_update_time on frozen fs
+
+Pipe has no data associated with fs so it is not good idea to block
+pipe_write() if FS is frozen, but we can not update file's time on such
+filesystem. Let's use same idea as we use in touch_time().
+
+Addresses https://bugzilla.kernel.org/show_bug.cgi?id=65701
+
+Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
+Reviewed-by: Jan Kara <jack@suse.cz>
+Cc: Al Viro <viro@zeniv.linux.org.uk>
+Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
+---
+--- a/fs/pipe.c 2014-01-23 13:17:08.290011999 -0500
++++ b/fs/pipe.c 2014-01-23 13:18:24.140012053 -0500
+@@ -663,10 +663,11 @@ out:
+ wake_up_interruptible_sync_poll(&pipe->wait, POLLIN | POLLRDNORM);
+ kill_fasync(&pipe->fasync_readers, SIGIO, POLL_IN);
+ }
+- if (ret > 0) {
++ if (ret > 0 && sb_start_write_trylock(file_inode(filp)->i_sb)) {
+ int err = file_update_time(filp);
+ if (err)
+ ret = err;
++ sb_end_write(file_inode(filp)->i_sb);
+ }
+ return ret;
+ }
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-01-23 18:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-23 18:31 [gentoo-commits] linux-patches r2650 - genpatches-2.6/trunk/3.13 Mike Pagano (mpagano)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox