summaryrefslogtreecommitdiffstats
path: root/mm/percpu.c
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2013-04-05 10:57:15 +0100
committerDavid Teigland <teigland@redhat.com>2013-04-08 12:03:15 -0500
commit900083183959107159f962b83b3b439d53796499 (patch)
tree45827ae0ce336cc0767bcb09938772df4497a809 /mm/percpu.c
parent31880c37c11e28cb81c70757e38392b42e695dc6 (diff)
downloadblackbird-obmc-linux-900083183959107159f962b83b3b439d53796499.tar.gz
blackbird-obmc-linux-900083183959107159f962b83b3b439d53796499.zip
dlm: avoid unnecessary posix unlock
When the kernel clears flocks/plocks during close, it calls posix unlock when there are flocks but no posix locks. Without this patch, that unnecessary posix unlock is passed to userland (dlm_controld), across the cluster, and back to the kernel. This can create a lot of plock activity, even when no posix locks had been used. This patch copies the nfs approach, and skips the full posix unlock if there is no plock found during the vfs unlock phase. Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'mm/percpu.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud