[Cluster-devel] [GFS2 PATCH] gfs2: eliminate GIF_ORDERED in favor of list_empty

2020-06-17 Thread Bob Peterson
Hi, In several places, we used the GIF_ORDERED inode flag to determine if an inode was on the ordered writes list. However, since we always held the sd_ordered_lock spin_lock during the manipulation, we can just as easily check list_empty(>i_ordered) instead. This allows us to keep more than one

[Cluster-devel] [PATCH AUTOSEL 5.7 198/388] dlm: remove BUG() before panic()

2020-06-17 Thread Sasha Levin
From: Arnd Bergmann [ Upstream commit fe204591cc9480347af7d2d6029b24a62e449486 ] Building a kernel with clang sometimes fails with an objtool error in dlm: fs/dlm/lock.o: warning: objtool: revert_lock_pc()+0xbd: can't find jump dest instruction at .text+0xd7fc The problem is that BUG() never

[Cluster-devel] [PATCH AUTOSEL 5.4 218/266] gfs2: Allow lock_nolock mount to specify jid=X

2020-06-17 Thread Sasha Levin
From: Bob Peterson [ Upstream commit ea22eee4e6027d8927099de344f7fff43c507ef9 ] Before this patch, a simple typo accidentally added \n to the jid= string for lock_nolock mounts. This made it impossible to mount a gfs2 file system with a journal other than journal0. Thus: mount -tgfs2 -o

[Cluster-devel] [PATCH AUTOSEL 4.19 152/172] gfs2: fix use-after-free on transaction ail lists

2020-06-17 Thread Sasha Levin
From: Bob Peterson [ Upstream commit 83d060ca8d90fa1e3feac227f995c013100862d3 ] Before this patch, transactions could be merged into the system transaction by function gfs2_merge_trans(), but the transaction ail lists were never merged. Because the ail flushing mechanism can run separately, bd

[Cluster-devel] [PATCH AUTOSEL 4.19 137/172] gfs2: Allow lock_nolock mount to specify jid=X

2020-06-17 Thread Sasha Levin
From: Bob Peterson [ Upstream commit ea22eee4e6027d8927099de344f7fff43c507ef9 ] Before this patch, a simple typo accidentally added \n to the jid= string for lock_nolock mounts. This made it impossible to mount a gfs2 file system with a journal other than journal0. Thus: mount -tgfs2 -o

[Cluster-devel] [PATCH AUTOSEL 4.9 43/80] dlm: remove BUG() before panic()

2020-06-17 Thread Sasha Levin
From: Arnd Bergmann [ Upstream commit fe204591cc9480347af7d2d6029b24a62e449486 ] Building a kernel with clang sometimes fails with an objtool error in dlm: fs/dlm/lock.o: warning: objtool: revert_lock_pc()+0xbd: can't find jump dest instruction at .text+0xd7fc The problem is that BUG() never

[Cluster-devel] [PATCH AUTOSEL 4.9 71/80] gfs2: Allow lock_nolock mount to specify jid=X

2020-06-17 Thread Sasha Levin
From: Bob Peterson [ Upstream commit ea22eee4e6027d8927099de344f7fff43c507ef9 ] Before this patch, a simple typo accidentally added \n to the jid= string for lock_nolock mounts. This made it impossible to mount a gfs2 file system with a journal other than journal0. Thus: mount -tgfs2 -o

[Cluster-devel] [PATCH AUTOSEL 4.4 34/60] dlm: remove BUG() before panic()

2020-06-17 Thread Sasha Levin
From: Arnd Bergmann [ Upstream commit fe204591cc9480347af7d2d6029b24a62e449486 ] Building a kernel with clang sometimes fails with an objtool error in dlm: fs/dlm/lock.o: warning: objtool: revert_lock_pc()+0xbd: can't find jump dest instruction at .text+0xd7fc The problem is that BUG() never

[Cluster-devel] [PATCH AUTOSEL 4.4 54/60] gfs2: Allow lock_nolock mount to specify jid=X

2020-06-17 Thread Sasha Levin
From: Bob Peterson [ Upstream commit ea22eee4e6027d8927099de344f7fff43c507ef9 ] Before this patch, a simple typo accidentally added \n to the jid= string for lock_nolock mounts. This made it impossible to mount a gfs2 file system with a journal other than journal0. Thus: mount -tgfs2 -o

[Cluster-devel] [PATCH AUTOSEL 5.7 318/388] gfs2: Allow lock_nolock mount to specify jid=X

2020-06-17 Thread Sasha Levin
From: Bob Peterson [ Upstream commit ea22eee4e6027d8927099de344f7fff43c507ef9 ] Before this patch, a simple typo accidentally added \n to the jid= string for lock_nolock mounts. This made it impossible to mount a gfs2 file system with a journal other than journal0. Thus: mount -tgfs2 -o

[Cluster-devel] [PATCH AUTOSEL 4.19 085/172] dlm: remove BUG() before panic()

2020-06-17 Thread Sasha Levin
From: Arnd Bergmann [ Upstream commit fe204591cc9480347af7d2d6029b24a62e449486 ] Building a kernel with clang sometimes fails with an objtool error in dlm: fs/dlm/lock.o: warning: objtool: revert_lock_pc()+0xbd: can't find jump dest instruction at .text+0xd7fc The problem is that BUG() never

[Cluster-devel] [PATCH AUTOSEL 5.7 343/388] gfs2: fix use-after-free on transaction ail lists

2020-06-17 Thread Sasha Levin
From: Bob Peterson [ Upstream commit 83d060ca8d90fa1e3feac227f995c013100862d3 ] Before this patch, transactions could be merged into the system transaction by function gfs2_merge_trans(), but the transaction ail lists were never merged. Because the ail flushing mechanism can run separately, bd

[Cluster-devel] [PATCH AUTOSEL 5.4 235/266] gfs2: fix use-after-free on transaction ail lists

2020-06-17 Thread Sasha Levin
From: Bob Peterson [ Upstream commit 83d060ca8d90fa1e3feac227f995c013100862d3 ] Before this patch, transactions could be merged into the system transaction by function gfs2_merge_trans(), but the transaction ail lists were never merged. Because the ail flushing mechanism can run separately, bd

[Cluster-devel] [PATCH AUTOSEL 4.14 089/108] gfs2: Allow lock_nolock mount to specify jid=X

2020-06-17 Thread Sasha Levin
From: Bob Peterson [ Upstream commit ea22eee4e6027d8927099de344f7fff43c507ef9 ] Before this patch, a simple typo accidentally added \n to the jid= string for lock_nolock mounts. This made it impossible to mount a gfs2 file system with a journal other than journal0. Thus: mount -tgfs2 -o

[Cluster-devel] [PATCH AUTOSEL 4.14 104/108] gfs2: fix use-after-free on transaction ail lists

2020-06-17 Thread Sasha Levin
From: Bob Peterson [ Upstream commit 83d060ca8d90fa1e3feac227f995c013100862d3 ] Before this patch, transactions could be merged into the system transaction by function gfs2_merge_trans(), but the transaction ail lists were never merged. Because the ail flushing mechanism can run separately, bd

[Cluster-devel] [PATCH AUTOSEL 5.4 138/266] dlm: remove BUG() before panic()

2020-06-17 Thread Sasha Levin
From: Arnd Bergmann [ Upstream commit fe204591cc9480347af7d2d6029b24a62e449486 ] Building a kernel with clang sometimes fails with an objtool error in dlm: fs/dlm/lock.o: warning: objtool: revert_lock_pc()+0xbd: can't find jump dest instruction at .text+0xd7fc The problem is that BUG() never

[Cluster-devel] [PATCH AUTOSEL 4.14 055/108] dlm: remove BUG() before panic()

2020-06-17 Thread Sasha Levin
From: Arnd Bergmann [ Upstream commit fe204591cc9480347af7d2d6029b24a62e449486 ] Building a kernel with clang sometimes fails with an objtool error in dlm: fs/dlm/lock.o: warning: objtool: revert_lock_pc()+0xbd: can't find jump dest instruction at .text+0xd7fc The problem is that BUG() never