Re: [Ocfs2-devel] [Question] deadlock on chmod when running discontigous block group multiple node testing

2016-10-14 Thread Eric Ren
Hello Guys, This is indeed another deadlock caused by: Commit 743b5f1434f5 ("ocfs2: take inode lock in ocfs2_iop_set/get_acl()") The reason had been explained well by Tariq Saeed in this thread: https://oss.oracle.com/pipermail/ocfs2-devel/2015-September/011085.html For this case,

Re: [Ocfs2-devel] [Question] deadlock on chmod when running discontigous block group multiple node testing

2016-10-12 Thread Junxiao Bi
On 10/12/2016 06:54 PM, Eric Ren wrote: > Hi, > > On 10/12/2016 05:45 PM, Junxiao Bi wrote: >> On 10/12/2016 05:34 PM, Eric Ren wrote: >>> Hi Junxiao, >>> >>> On 10/12/2016 02:47 PM, Junxiao Bi wrote: On 10/12/2016 10:36 AM, Eric Ren wrote: > Hi, > > When backporting those

Re: [Ocfs2-devel] [Question] deadlock on chmod when running discontigous block group multiple node testing

2016-10-12 Thread Eric Ren
Hi, On 10/12/2016 05:45 PM, Junxiao Bi wrote: > On 10/12/2016 05:34 PM, Eric Ren wrote: >> Hi Junxiao, >> >> On 10/12/2016 02:47 PM, Junxiao Bi wrote: >>> On 10/12/2016 10:36 AM, Eric Ren wrote: Hi, When backporting those patches, I find that they are already in our product

Re: [Ocfs2-devel] [Question] deadlock on chmod when running discontigous block group multiple node testing

2016-10-12 Thread Junxiao Bi
On 10/12/2016 05:34 PM, Eric Ren wrote: > Hi Junxiao, > > On 10/12/2016 02:47 PM, Junxiao Bi wrote: >> On 10/12/2016 10:36 AM, Eric Ren wrote: >>> Hi, >>> >>> When backporting those patches, I find that they are already in our >>> product kernel, maybe >>> via "stable kernel" policy, although our

Re: [Ocfs2-devel] [Question] deadlock on chmod when running discontigous block group multiple node testing

2016-10-12 Thread Eric Ren
Hi Junxiao, On 10/12/2016 02:47 PM, Junxiao Bi wrote: > On 10/12/2016 10:36 AM, Eric Ren wrote: >> Hi, >> >> When backporting those patches, I find that they are already in our >> product kernel, maybe >> via "stable kernel" policy, although our product kernel is 4.4 while the >> patches were

Re: [Ocfs2-devel] [Question] deadlock on chmod when running discontigous block group multiple node testing

2016-10-12 Thread Junxiao Bi
On 10/12/2016 10:36 AM, Eric Ren wrote: > Hi, > > When backporting those patches, I find that they are already in our > product kernel, maybe > via "stable kernel" policy, although our product kernel is 4.4 while the > patches were merged > into 4.6. > > Seems it's another deadlock that happens

Re: [Ocfs2-devel] [Question] deadlock on chmod when running discontigous block group multiple node testing

2016-10-11 Thread Eric Ren
Hi, When backporting those patches, I find that they are already in our product kernel, maybe via "stable kernel" policy, although our product kernel is 4.4 while the patches were merged into 4.6. Seems it's another deadlock that happens when doing `chmod -R 777 /mnt/ocfs2` among mutilple

Re: [Ocfs2-devel] [Question] deadlock on chmod when running discontigous block group multiple node testing

2016-10-11 Thread Eric Ren
Hi Junxiao, > Hi Eric, > > On 10/11/2016 10:42 AM, Eric Ren wrote: >> Hi Junxiao, >> >> As the subject, the testing hung there on a kernel without your patches: >> >> "ocfs2: revert using ocfs2_acl_chmod to avoid inode cluster lock hang" >> and >> "ocfs2: fix posix_acl_create deadlock" >> >> The

Re: [Ocfs2-devel] [Question] deadlock on chmod when running discontigous block group multiple node testing

2016-10-10 Thread Eric Ren
Hi Junxiao, On 10/11/2016 10:58 AM, Junxiao Bi wrote: >> Do you think this issue can be fixed by your patches? > Looks not. Those two patches are to fix recursive locking deadlock. But > from above call trace, there is no recursive lock. OK, thanks a lot! Eric > > Thanks, > Junxiao. >> I will

Re: [Ocfs2-devel] [Question] deadlock on chmod when running discontigous block group multiple node testing

2016-10-10 Thread Junxiao Bi
Hi Eric, On 10/11/2016 10:42 AM, Eric Ren wrote: > Hi Junxiao, > > As the subject, the testing hung there on a kernel without your patches: > > "ocfs2: revert using ocfs2_acl_chmod to avoid inode cluster lock hang" > and > "ocfs2: fix posix_acl_create deadlock" > > The stack trace is: > ``` >