Re: [PATCH v3] fs/locks: print full locks information

2021-03-11 Thread Jeff Layton
On Thu, 2021-03-11 at 11:45 +0800, Luo Longjun wrote: > 在 2021/3/9 21:37, Jeff Layton 写道: > > On Thu, 2021-02-25 at 22:58 -0500, Luo Longjun wrote: > > > Commit fd7732e033e3 ("fs/locks: create a tree of dependent requests.") > > > has put blocked locks into a tree. > > > > > > So, with a for

Re: [PATCH v3] fs/locks: print full locks information

2021-03-10 Thread Luo Longjun
在 2021/3/9 21:37, Jeff Layton 写道: On Thu, 2021-02-25 at 22:58 -0500, Luo Longjun wrote: Commit fd7732e033e3 ("fs/locks: create a tree of dependent requests.") has put blocked locks into a tree. So, with a for loop, we can't check all locks information. To solve this problem, we should

Re: [PATCH v3] fs/locks: print full locks information

2021-03-09 Thread Jeff Layton
On Thu, 2021-02-25 at 22:58 -0500, Luo Longjun wrote: > Commit fd7732e033e3 ("fs/locks: create a tree of dependent requests.") > has put blocked locks into a tree. > > So, with a for loop, we can't check all locks information. > > To solve this problem, we should traverse the tree. > >

[PATCH v3] fs/locks: print full locks information

2021-02-25 Thread Luo Longjun
Commit fd7732e033e3 ("fs/locks: create a tree of dependent requests.") has put blocked locks into a tree. So, with a for loop, we can't check all locks information. To solve this problem, we should traverse the tree. Signed-off-by: Luo Longjun --- fs/locks.c | 65