| # buf = VFS_PAGE_SIZE, afs_files = (cache_files ⊕ cache_pcache) ⊕ cache_icache, dirs = cache_dirs, err = err0, files = afs_files, inode = mkinode(m, md, boolvar, m0, m1, m2), afs-cons(cache_dirs, (cache_files ⊕ cache_pcache) ⊕ cache_icache), afs-cons(cache_dirs, cache_files), dcache-cons(cache_dcache, cache_dirs, cache_files), icache-cons(cache_icache, cache_dirs, cache_files), pcache-cons(cache_pcache, cache_dirs, cache_files), synced(cache_dirs, cache_icache, cache_pcache), m ∈ cache_files ⊦ ⟨asynced := ?⟩ ( files[inode.ino, files[inode.ino].content:= files[inode.ino].content[pageno, buf]] = (cache_files ⊕ cache_pcache[datakey(m, pageno), mkpentry(true, buf)]) ⊕ cache_icache ∧ (asynced ↔ asynced0) ∧ ESUCCESS = ESUCCESS), ⟨fail#(; ; err); asynced := ?⟩ (files = (cache_files ⊕ cache_pcache[datakey(m, pageno), mkpentry(true, buf)]) ⊕ cache_icache ∧ (asynced ↔ asynced0) ∧ ESUCCESS = err) |
# buf = VFS_PAGE_SIZE, afs_files = (cache_files ⊕ cache_pcache) ⊕ cache_icache, dirs = cache_dirs, err = err0, files = afs_files, inode = mkinode(m, md, boolvar, m0, m1, m2), afs-cons(cache_dirs, cache_files), afs-cons(cache_dirs, (cache_files ⊕ cache_pcache) ⊕ cache_icache), dcache-cons(cache_dcache, cache_dirs, cache_files), icache-cons(cache_icache, cache_dirs, cache_files), pcache-cons(cache_pcache, cache_dirs, cache_files), synced(cache_dirs, cache_icache, cache_pcache), m ∈ cache_files ⊦ ⟨fail#(; ; err); asynced1 := ?⟩ (files = (cache_files ⊕ cache_pcache[datakey(m, pageno), mkpentry(true, buf)]) ⊕ cache_icache ∧ (asynced1 ↔ asynced0) ∧ ESUCCESS = err), ∃ asynced. files[inode.ino, files[inode.ino].content:= files[inode.ino].content[pageno, buf]] = (cache_files ⊕ cache_pcache[datakey(m, pageno), mkpentry(true, buf)]) ⊕ cache_icache ∧ (asynced ↔ asynced0) ∧ ESUCCESS = ESUCCESS