Gentoo Archives: gentoo-commits

From: Mike Pagano <mpagano@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/linux-patches:3.12 commit in: /
Date: Thu, 28 Apr 2016 14:05:31
Message-Id: 1461852314.248ced9dfcb08afe949a95f1918d25eac762ec40.mpagano@gentoo
1 commit: 248ced9dfcb08afe949a95f1918d25eac762ec40
2 Author: Mike Pagano <mpagano <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 28 14:05:14 2016 +0000
4 Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 28 14:05:14 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=248ced9d
7
8 Removal of redundant patchset
9
10 0000_README | 4 ---
11 ..._write-to-first-call-sb_start_write_try-a.patch | 32 ----------------------
12 2 files changed, 36 deletions(-)
13
14 diff --git a/0000_README b/0000_README
15 index ee2e2fc..fdbff05 100644
16 --- a/0000_README
17 +++ b/0000_README
18 @@ -294,10 +294,6 @@ Patch: 1700_enable-thinkpad-micled.patch
19 From: https://bugs.gentoo.org/show_bug.cgi?id=449248
20 Desc: Enable mic mute led in thinkpads
21
22 -Patch: 1900_modify-pipe_write-to-first-call-sb_start_write_try-a.patch
23 -From: https://bugs.gentoo.org/show_bug.cgi?id=493002
24 -Desc: Modify pipe_write to first call sb_start_write_try(),skip time update on fail
25 -
26 Patch: 2400_kcopy-patch-for-infiniband-driver.patch
27 From: Alexey Shvetsov <alexxy@g.o>
28 Desc: Zero copy for infiniband psm userspace driver
29
30 diff --git a/1900_modify-pipe_write-to-first-call-sb_start_write_try-a.patch b/1900_modify-pipe_write-to-first-call-sb_start_write_try-a.patch
31 deleted file mode 100644
32 index 67dedaf..0000000
33 --- a/1900_modify-pipe_write-to-first-call-sb_start_write_try-a.patch
34 +++ /dev/null
35 @@ -1,32 +0,0 @@
36 -From 34d651f7979e35fde9a4f77adc26a7e8c1e3e54a Mon Sep 17 00:00:00 2001
37 -From: Dmitry Monakhov <dmonakhov@××××××.org>
38 -Date: Tue, 10 Dec 2013 10:05:10 -0500
39 -Subject: [PATCH] Modify pipe_write to first call sb_start_write_try() and upon
40 - encountering a frozen fs, skip the time update. See kernel bug #65701 and
41 - Gentoo Kernel bug #493002.
42 -
43 -Signed-off-by: Mike Pagano <mpagano@g.o>
44 ----
45 - fs/pipe.c | 3 ++-
46 - 1 file changed, 2 insertions(+), 1 deletion(-)
47 -
48 -diff --git a/fs/pipe.c b/fs/pipe.c
49 -index 0e0752e..78fd0d0 100644
50 ---- a/fs/pipe.c
51 -+++ b/fs/pipe.c
52 -@@ -663,10 +663,11 @@ out:
53 - wake_up_interruptible_sync_poll(&pipe->wait, POLLIN | POLLRDNORM);
54 - kill_fasync(&pipe->fasync_readers, SIGIO, POLL_IN);
55 - }
56 -- if (ret > 0) {
57 -+ if (ret > 0 && sb_start_write_trylock(file_inode(filp)->i_sb)) {
58 - int err = file_update_time(filp);
59 - if (err)
60 - ret = err;
61 -+ sb_end_write(file_inode(filp)->i_sb);
62 - }
63 - return ret;
64 - }
65 ---
66 -1.8.3.2
67 -