Re: [Cluster-devel] [RFCv2 4/7] locks: update lock callback documentation

2023-08-16 Thread Alexander Aring
Hi, On Wed, Aug 16, 2023 at 8:01 AM Jeff Layton wrote: > > On Mon, 2023-08-14 at 17:11 -0400, Alexander Aring wrote: > > This patch updates the existing documentation regarding recent changes > > to vfs_lock_file() and lm_grant() is set. In case of lm_grant() is set > > we only handle FILE_LOCK_D

Re: [Cluster-devel] [RFCv2 4/7] locks: update lock callback documentation

2023-08-16 Thread Jeff Layton
On Mon, 2023-08-14 at 17:11 -0400, Alexander Aring wrote: > This patch updates the existing documentation regarding recent changes > to vfs_lock_file() and lm_grant() is set. In case of lm_grant() is set > we only handle FILE_LOCK_DEFERRED in case of FL_SLEEP in fl_flags is not > set. This is the c

[Cluster-devel] [RFCv2 4/7] locks: update lock callback documentation

2023-08-14 Thread Alexander Aring
This patch updates the existing documentation regarding recent changes to vfs_lock_file() and lm_grant() is set. In case of lm_grant() is set we only handle FILE_LOCK_DEFERRED in case of FL_SLEEP in fl_flags is not set. This is the case of an blocking lock request. Non-blocking lock requests, when