Fix #1 for LP: #1795659

PPA description

Ubuntu-aws-4.15.0-1027.27+

Author: Aurelien Aptel <email address hidden>
Date: Fri Mar 29 10:49:12 2019 +0100

    CIFS: keep FileInfo handle live during oplock break

    In the oplock break handler, writing pending changes from pages puts
    the FileInfo handle. If the refcount reaches zero it closes the handle
    and waits for any oplock break handler to return, thus causing a deadlock.

    To prevent this situation:

    * We add a wait flag to cifsFileInfo_put() to decide whether we should
      wait for running/pending oplock break handlers

    * We keep an additionnal reference of the SMB FileInfo handle so that
      for the rest of the handler putting the handle won't close it.
      - The ref is bumped everytime we queue the handler via the
        cifs_queue_oplock_break() helper.
      - The ref is decremented at the end of the handler

    This bug was triggered by xfstest 464.

    Also important fix to address the various reports of
    oops in smb2_push_mandatory_locks

    Signed-off-by: Aurelien Aptel <email address hidden>
    Signed-off-by: Steve French <email address hidden>
    Reviewed-by: Pavel Shilovsky <email address hidden>
    CC: Stable <email address hidden>
    (cherry picked from commit b98749cac4a695f084a5ff076f4510b23e353ecd)
    Signed-off-by: Dragan Stancevic <email address hidden>

Adding this PPA to your system

You can update your system with unsupported packages from this untrusted PPA by adding ppa:dragan-s/lp1795659-1 to your system's Software Sources. (Read about installing)

sudo add-apt-repository ppa:dragan-s/lp1795659-1
sudo apt update
        
Technical details about this PPA

This PPA can be added to your system manually by copying the lines below and adding them to your system's software sources.

deb https://ppa.launchpadcontent.net/dragan-s/lp1795659-1/ubuntu bionic main 
deb-src https://ppa.launchpadcontent.net/dragan-s/lp1795659-1/ubuntu bionic main 
Signing key:
4096R/CEB81C37ED8433E398310DED01A6F3D0F9291320 (What is this?)
Fingerprint:
CEB81C37ED8433E398310DED01A6F3D0F9291320

For questions and bugs with software in this PPA please contact Dragan S..

PPA statistics

Activity
0 updates added during the past month.
View package details

Overview of published packages

11 of 1 result
Package Version Uploaded by
linux-aws 4.15.0-1027.27ubuntu1+hf00227000v20190519b6 (Newer version available) Dragan S. ()
11 of 1 result

Latest updates

  • linux-aws 256 weeks ago
    Successfully built