Using Concurrent Relational Logic with Helpers for Verifying the AtomFS File System

被引:14
作者
Zou, Mo [1 ,2 ]
Ding, Haoran [1 ,2 ]
Du, Dong [1 ,2 ]
Fu, Ming [3 ]
Gu, Ronghui [4 ]
Chen, Haibo [1 ,2 ]
机构
[1] Shanghai Jiao Tong Univ, Shanghai Key Lab Scalable Comp & Syst, Shanghai, Peoples R China
[2] Shanghai Jiao Tong Univ, Inst Parallel & Distributed Syst, Shanghai, Peoples R China
[3] Huawei Technol Co Ltd, Shenzhen, Peoples R China
[4] Columbia Univ, New York, NY 10027 USA
来源
PROCEEDINGS OF THE TWENTY-SEVENTH ACM SYMPOSIUM ON OPERATING SYSTEMS PRINCIPLES (SOSP '19) | 2019年
基金
中国国家自然科学基金;
关键词
SEPARATION LOGIC; VERIFICATION; LINEARIZABILITY; ABSTRACTION; FRAMEWORK;
D O I
10.1145/3341301.3359644
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Concurrent file systems are pervasive but hard to correctly implement and formally verify due to nondeterministic interleavings. This paper presents AtomFS, the first formally-verified, fine-grained, concurrent file system, which provides linearizable interfaces to applications. The standard way to prove linearizability requires modeling linearization point of each operation-the moment when its effect becomes visible atomically to other threads. We observe that path inter-dependency, where one operation (like rename) breaks the path integrity of other operations, makes the linearization point external and thus poses a significant challenge to prove linearizability. To overcome the above challenge, this paper presents Concurrent Relational Logic with Helpers (CRL-H), a framework for building verified concurrent file systems. CRL-H is made powerful through two key contributions: (1) extending prior approaches using fixed linearization points with a helper mechanism where one operation of the thread can logically help other threads linearize their operations; (2) combining relational specifications and rely/guarantee conditions for relational and compositional reasoning. We have successfully applied CRL-H to verify the linearizability of AtomFS directly in C code. All the proofs are mechanized in Coq. Evaluations show that AtomFS speeds up file system workloads by utilizing fine-grained, multicore concurrency.
引用
收藏
页码:259 / 274
页数:16
相关论文
共 26 条
  • [21] A Joint FED Watermarking System Using Spatial Fusion for Verifying the Security Issues of Teleradiology
    Viswanathan, P.
    Krishna, P. Venkata
    IEEE JOURNAL OF BIOMEDICAL AND HEALTH INFORMATICS, 2014, 18 (03) : 753 - 764
  • [22] Fuzzy Logic based Smart Irrigation System using Internet of Things
    Krishnan, R. Santhana
    Julie, E. Golden
    Robinson, Y. Harold
    Raja, S.
    Kumar, Raghvendra
    Pham Huy Thong
    Le Hoang Son
    JOURNAL OF CLEANER PRODUCTION, 2020, 252 (252)
  • [23] An Evaluation Model of Smart Manufacturing System Configurations Prior to Implementation Using Fuzzy Logic
    Grace, Jennifer
    Mahmoud, Moamin A.
    Mahdi, Mohammed Najah
    Mostafa, Salama A.
    APPLIED SCIENCES-BASEL, 2022, 12 (05):
  • [24] Modelling the inhibitors of integrated sustainable lean manufacturing system in the South Indian SMEs using fuzzy logic
    Gopi, Vivek
    Saleeshya, P. G.
    JOURNAL OF MODELLING IN MANAGEMENT, 2024, 19 (03) : 842 - 870
  • [25] The assessment of local sustainability using fuzzy logic: An expert opinion system to evaluate environmental sanitation in the Algarve region, Portugal
    Canavese, Daniel
    Siqueira Ortega, Neli Regina
    Queiros, Margarida
    ECOLOGICAL INDICATORS, 2014, 36 : 711 - 718
  • [26] Formal modelling of a sheet metal smart manufacturing system by using Petri nets and first-order predicate logic
    Lu, Juan
    Ou, Chengyi
    Liao, Chen
    Zhang, Zhenkun
    Chen, Kai
    Liao, Xiaoping
    JOURNAL OF INTELLIGENT MANUFACTURING, 2021, 32 (04) : 1043 - 1063