Avoiding data inconsistency in a file system using 2-level synchronization
US12222904B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Mar 24, 2023 |
| Grant date | Feb 11, 2025 |
| Priority date | — |
| Expiry date | Mar 24, 2043 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F16/188
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A method of synchronously executing input/output operations (IOs) for a plurality of applications using a storage device with a file system includes the steps of: receiving a first write IO including an instruction to write first data at a first address of the file system; determining that, within a first range of the file system comprising the first address, there are no pending unmap IOs for deallocating storage space of the storage device from files of the plurality of applications; after determining that there are no pending unmap IOs within the first range, locking the first range to prevent incoming unmap IOs from deallocating storage space within the first range from the files of the plurality of applications; after locking the first range, writing the first data to the storage device at the first address; and after writing the first data, unlocking the first range.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.