[folded-merged] ocfs2-retry-on-enospc-if-sufficient-space-in-truncate-log-v3.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: ocfs2-retry-on-enospc-if-sufficient-space-in-truncate-log-v3
has been removed from the -mm tree.  Its filename was
     ocfs2-retry-on-enospc-if-sufficient-space-in-truncate-log-v3.patch

This patch was dropped because it was folded into ocfs2-retry-on-enospc-if-sufficient-space-in-truncate-log.patch

------------------------------------------------------
From: Eric Ren <zren@xxxxxxxx>
Subject: ocfs2-retry-on-enospc-if-sufficient-space-in-truncate-log-v3

v3:
1. Also need to lock allocator inode when "= 0" is returned from
ocfs2_schedule_truncate_log_flush(), which means no space really.
-- spotted by Joseph Qi

Link: http://lkml.kernel.org/r/1468031546-4797-1-git-send-email-zren@xxxxxxxx
Signed-off-by: Eric Ren <zren@xxxxxxxx>
Cc: Gang He <ghe@xxxxxxxx>
Cc: Mark Fasheh <mfasheh@xxxxxxx>
Cc: Joel Becker <jlbec@xxxxxxxxxxxx>
Cc: Junxiao Bi <junxiao.bi@xxxxxxxxxx>
Cc: Joseph Qi <joseph.qi@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 fs/ocfs2/suballoc.c |    3 +++
 1 file changed, 3 insertions(+)

diff -puN fs/ocfs2/suballoc.c~ocfs2-retry-on-enospc-if-sufficient-space-in-truncate-log-v3 fs/ocfs2/suballoc.c
--- a/fs/ocfs2/suballoc.c~ocfs2-retry-on-enospc-if-sufficient-space-in-truncate-log-v3
+++ a/fs/ocfs2/suballoc.c
@@ -1204,6 +1204,9 @@ retry:
 
 			if (ret < 0)
 				mlog_errno(ret);
+
+			inode_lock((*ac)->ac_inode);
+			ocfs2_inode_lock((*ac)->ac_inode, NULL, 1);
 		}
 		if (status < 0) {
 			if (status != -ENOSPC)
_

Patches currently in -mm which might be from zren@xxxxxxxx are

ocfs2-retry-on-enospc-if-sufficient-space-in-truncate-log.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]
  Powered by Linux