31 May, 2019

1 commit

  • Based on 1 normalized pattern(s):

    this copyrighted material is made available to anyone wishing to use
    modify copy or redistribute it subject to the terms and conditions
    of the gnu general public license v 2

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-only

    has been chosen to replace the boilerplate/reference in 45 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Richard Fontana
    Reviewed-by: Allison Randal
    Reviewed-by: Steve Winslow
    Reviewed-by: Alexios Zavras
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190528170027.342746075@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

13 Oct, 2012

1 commit


23 May, 2011

1 commit

  • Allow processes blocked on plock requests to be interrupted
    when they are killed. This leaves the problem of cleaning
    up the lock state in userspace. This has three parts:

    1. Add a flag to unlock operations sent to userspace
    indicating the file is being closed. Userspace will
    then look for and clear any waiting plock operations that
    were abandoned by an interrupted process.

    2. Queue an unlock-close operation (like in 1) to clean up
    userspace from an interrupted plock request. This is needed
    because the vfs will not send a cleanup-unlock if it sees no
    locks on the file, which it won't if the interrupted operation
    was the only one.

    3. Do not use replies from userspace for unlock-close operations
    because they are unnecessary (they are just cleaning up for the
    process which did not make an unlock call). This also simplifies
    the new unlock-close generated from point 2.

    Signed-off-by: David Teigland

    David Teigland
     

31 Jan, 2009

1 commit


22 Apr, 2008

1 commit