The branch main has been updated by mjg:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=3f56bc79860ec20f0e53de42dab1c117ee68e37b

commit 3f56bc79860ec20f0e53de42dab1c117ee68e37b
Author:     Mateusz Guzik <[email protected]>
AuthorDate: 2021-03-30 14:44:10 +0000
Commit:     Mateusz Guzik <[email protected]>
CommitDate: 2021-04-02 03:11:05 +0000

    vfs: add vfs_smr_quiesce
    
    This can be used to observe all CPUs not executing while within
    vfs_smr_enter.
---
 sys/sys/vnode.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index f05b03c74c82..3bb6936a27b2 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -1112,6 +1112,7 @@ int vn_dir_check_exec(struct vnode *vp, struct 
componentname *cnp);
 #define VFS_SMR()      vfs_smr
 #define vfs_smr_enter()        smr_enter(VFS_SMR())
 #define vfs_smr_exit() smr_exit(VFS_SMR())
+#define vfs_smr_quiesce()      quiesce_all_critical()
 #define vfs_smr_entered_load(ptr)      smr_entered_load((ptr), VFS_SMR())
 #define VFS_SMR_ASSERT_ENTERED()       SMR_ASSERT_ENTERED(VFS_SMR())
 #define VFS_SMR_ASSERT_NOT_ENTERED()   SMR_ASSERT_NOT_ENTERED(VFS_SMR())
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
To unsubscribe, send any mail to "[email protected]"

Reply via email to