** Description changed:

+ [Impact]
+ 
+ Deadlock may occur if iput_final() decides to wait for readahead pages
+ while a lock is held.
+ 
+ In order to resolve this, the following two patches install an
+ asynchronous "iput" for the ceph inodes so that a hold-and-wait deadlock
+ doesn't occur. A more detailed example is shown in the original patch:
+ 
https://github.com/ceph/ceph-client/commit/093ea205acd4b047cf5aacabc0c6ffecf198d2a9
+ 
+ Requested patches:
+ 
+ 3e1d0452edcee ceph: avoid iput_final() while holding mutex or in dispatch 
thread
+ 1cf89a8dee5e6 ceph: single workqueue for inode related works
+ 
+ [Test Case]
+ 
+ These changes were tested by the original requester with positive
+ results over a few days in their own environment where they first
+ experienced the regression. They have determined they are no longer
+ experiencing the regression with this patch set applied to a test
+ kernel.
+ 
+ [Regression Potential]
+ 
+ Several patches were required in order to cleanly cherry pick the
+ requested patches. A large number of changes increases the regression
+ potential, however, these pre-requisite patches have been in mainline
+ since early 2018 and the blast radius is localized only to ceph.
+ 
+ 
+ Original bug description follows:
+ ------------------------------------
  Our internal cluster has run into a few ceph client related issues, which 
were root caused to be resolved by the following commits:
  
https://github.com/ceph/ceph-client/commit/f42a774a2123e6b29bb0ca296e166d0f089e9113
  
https://github.com/ceph/ceph-client/commit/093ea205acd4b047cf5aacabc0c6ffecf198d2a9
  Can you please backport these into bionic?
  
  3e1d0452edcee ceph: avoid iput_final() while holding mutex or in dispatch 
thread
  1cf89a8dee5e6 ceph: single workqueue for inode related works

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1834235

Title:
  Request backport of ceph commits into bionic

Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Bionic:
  In Progress

Bug description:
  [Impact]

  Deadlock may occur if iput_final() decides to wait for readahead pages
  while a lock is held.

  In order to resolve this, the following two patches install an
  asynchronous "iput" for the ceph inodes so that a hold-and-wait deadlock
  doesn't occur. A more detailed example is shown in the original patch:
  
https://github.com/ceph/ceph-client/commit/093ea205acd4b047cf5aacabc0c6ffecf198d2a9

  Requested patches:

  3e1d0452edcee ceph: avoid iput_final() while holding mutex or in dispatch 
thread
  1cf89a8dee5e6 ceph: single workqueue for inode related works

  [Test Case]

  These changes were tested by the original requester with positive
  results over a few days in their own environment where they first
  experienced the regression. They have determined they are no longer
  experiencing the regression with this patch set applied to a test
  kernel.

  [Regression Potential]

  Several patches were required in order to cleanly cherry pick the
  requested patches. A large number of changes increases the regression
  potential, however, these pre-requisite patches have been in mainline
  since early 2018 and the blast radius is localized only to ceph.


  Original bug description follows:
  ------------------------------------
  Our internal cluster has run into a few ceph client related issues, which 
were root caused to be resolved by the following commits:
  
https://github.com/ceph/ceph-client/commit/f42a774a2123e6b29bb0ca296e166d0f089e9113
  
https://github.com/ceph/ceph-client/commit/093ea205acd4b047cf5aacabc0c6ffecf198d2a9
  Can you please backport these into bionic?

  3e1d0452edcee ceph: avoid iput_final() while holding mutex or in dispatch 
thread
  1cf89a8dee5e6 ceph: single workqueue for inode related works

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1834235/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to