commit | 6bd4a2bfe568d963af721cc5efa52091bf1a3746 | [log] [tgz] |
---|---|---|
author | Alexander Aring <aahringo@redhat.com> | Mon Nov 13 16:24:10 2023 -0500 |
committer | David Teigland <teigland@redhat.com> | Thu Nov 16 11:59:19 2023 -0600 |
tree | 4b64c00c941262a866a24744b6861fd70664e931 | |
parent | dbee1adeb7e6d31c9afbad8e9248c15694f1cc0c [diff] |
dlm: use FL_SLEEP to determine blocking vs non-blocking This patch uses the FL_SLEEP flag in struct file_lock to determine if the lock request is a blocking or non-blocking request. Before dlm was using IS_SETLKW() was being used which is not usable for lock requests coming from lockd when EXPORT_OP_SAFE_ASYNC_LOCK inside the export flags is set. Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>