Re: [PATCH 0/2] loop: don't hang on lo_ctl_mutex in ioctls

2018-03-27 Thread Jens Axboe
On 3/26/18 10:39 PM, Omar Sandoval wrote: > From: Omar Sandoval > > 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 hol

[PATCH 0/2] loop: don't hang on lo_ctl_mutex in ioctls

2018-03-26 Thread Omar Sandoval
From: Omar Sandoval 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

[PATCH 0/2] loop: don't hang on lo_ctl_mutex in ioctls

2018-03-26 Thread Omar Sandoval
From: Omar Sandoval 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