[PATCH v1 0/1] cifs: Release folio lock on fscache read hit.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here's a patch that fixes what seems to be a showstopping bug in
cifs-fscache. *Any time* that a fscache read hit occurs on a mounted
cifs filesystem (and therefore cifs_readpage_worker is called), the page
lock on the read page is leaked, causing subsequent accesses to the page
to deadlock.

I've been running my machine for the past week with this change and it
seems to work, but I'm a little concerned that this may mean
cifs-fscache has no users (besides me). Up to you (maintainers) whether
that means you should accept this patch... or delete the fscache
support.

Russell Harmon (1):
  cifs: Release folio lock on fscache read hit.

 fs/smb/client/file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.34.1




[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux