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,

[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/lo

[PATCH v2 02/24] fs/locks: print full locks information

2021-02-24 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 by non-recursion DFS. Signed-off-by: Luo Longjun --- fs/lo

[PATCH] fs/locks: print full locks information

2021-02-20 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 by DFS. Signed-off-by: Luo Longjun --- fs/lo