×

Two-phase eviction process for file handle caches

  • US 10,684,989 B2
  • Filed: 06/15/2011
  • Issued: 06/16/2020
  • Est. Priority Date: 06/15/2011
  • Status: Active Grant
First Claim
Patent Images

1. A method for evicting entries from a file handle cache, each entry in the file handle cache storing a file handle associated with an open file in a file system, the method comprising:

  • analyzing each entry in the file handle cache to identify entries to be marked for eviction and marking the identified entries for eviction while maintaining a shared lock on the entire file handle cache, the shared lock allowing the file handle cache to be concurrently accessed by one or more processes to obtain file handles for use in servicing requests for content from the file system; and

    removing the entries marked for eviction from the file handle cache while maintaining an exclusive lock on the entire file handle cache, the exclusive lock preventing the file handle cache from being concurrently accessed by the one or more processes.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×