×

Managing concurrent I/OS in file systems

  • US 9,213,717 B1
  • Filed: 09/28/2011
  • Issued: 12/15/2015
  • Est. Priority Date: 09/28/2011
  • Status: Active Grant
First Claim
Patent Images

1. A method for use in managing concurrent I/Os in file systems, the method comprising:

  • receiving a first and second I/O requests, wherein the first I/O request is directed to a first portion of a file and the second I/O request is directed to a second portion of the file;

    obtaining a first range lock for the first portion and a second range lock for the second portion, wherein the first and second range locks provide access to the first and second portions of the file concurrently;

    determining whether the first and second portions of the file overlap;

    performing the first and second I/O requests concurrently upon determining that the first and second portions of the file do not overlap, wherein the second I/O request starts performing I/O on the second portion of the file before the first I/O request finishes performing I/O on the first portion of the file; and

    writing data associated with the first and second I/O requests to the file organized on a storage system in an order in which the first and second I/O requests are received upon determining that the first and second portions of the file overlap, wherein data associated with the second I/O request for the second portion of the file is written to a buffer in a memory of the storage system upon determining that flushing of the data associated with the first I/O request is in progress for the first portion of the file.

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