Re: [PATCH 0/2] loop: don't hang on lo_ctl_mutex in ioctls
From: Jens Axboe <axboe@kernel.dk>
Date: 2018-03-27 20:21:50
Also in:
linux-fsdevel
From: Jens Axboe <axboe@kernel.dk>
Date: 2018-03-27 20:21:50
Also in:
linux-fsdevel
On 3/26/18 10:39 PM, Omar Sandoval wrote:
From: Omar Sandoval <redacted> Hi, Jens, We hit an issue where a loop device on NFS (yes, I know) got stuck and a bunch of losetup processes got stuck in uninterruptible sleep waiting for lo_ctl_mutex as a result. Calling into the filesystem while holding lo_ctl_mutex isn't necessary, and there's no reason to be uninterruptible here. These two patches fix this issue, based on your for-next branch.
Applied for 4.17, thanks Omar. -- Jens Axboe