mbox series

[0/0] uses leases for the cached (root) directory

Message ID 20180613044802.19576-1-lsahlber@redhat.com
Headers show
Series uses leases for the cached (root) directory | expand

Message

Ronnie Sahlberg June 13, 2018, 4:48 a.m. UTC
Steve, All

A new wip patch to use leases to track when the cached root file handle has changed.
When the lease is broken we set up a work item to close the file handle and
uncache the handle.
On next access the handle is reopened and cached again.

As a further step we can use queue_delayed_work in a similar fashion to automatically
uncache the handle after xyz time. That is a small later patch once we have the basics.


--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html