Better Atomic Writes by Exposing the Flash Out-of-band Area to File Systems

Hongwei Qin,Dan Feng,Wei Tong,Yutong Zhao,Sheng Qiu,Fei Liu,Shu Li
DOI: https://doi.org/10.1145/3461648.3463843
2021-01-01
Abstract:File systems for mobile devices usually preserve data consistency by ordered I/Os. However, maintaining I/O ordering prevents applications from fully exploiting device parallelism and thus degrades the storage performance. In this paper, we propose NBStack to eliminate ordered I/Os without compromising data consistency. First, we augment the existing block interface to expose the Flash out-of-band area to file systems. Second, we build an enhanced block device prototype that supports the new interface. Third, we develop NBFS, a Linux file system, that leverages the new block interface to achieve atomic writes without enforcing I/O orderings. Experimental results show that NBStack doubles the performance of F2FS while providing strong consistency and durability guarantees. If applications are willing to trade-off durability, NBStack can further aggressively improve performance.
What problem does this paper attempt to address?