On Tue, Oct 19, 2021 at 09:02:53AM +0200, Sebastien Marie wrote:
> Hi,
>
> The following diff is a bit large. it could be splitted for easy
> review, but I tought having the full view would be good too.
>
> It moves the current vnode lock mecanism, implemented inside FS
> specific struct, to `str
And here it is the cd9660 part.
I prefered showing cd9660 over ffs, as ffs lock is shared between more
FS implementation (ext2fs, ffs).
else, cd9660 is similar to other implementations.
blob - 5082a7ad64a7c73a250023dd9e833b7ff91893b2
blob + 368b0a5b1252ba6b57401f28a8e0aad585828abb
--- sys/isofs
Below is the part of the full diff which is adding generic vnode lock
inside struct vnode.
blob - 7df5a5757b90244ab361f0687bd2eabf3e7093c2
blob + 53fb67ace69ada6faf768a6e7b20a48e2b6e9740
--- sys/kern/vfs_default.c
+++ sys/kern/vfs_default.c
@@ -167,6 +167,34 @@ vop_generic_abortop(void *v)
Hi,
The following diff is a bit large. it could be splitted for easy
review, but I tought having the full view would be good too.
It moves the current vnode lock mecanism, implemented inside FS
specific struct, to `struct vnode`.
I used `vop_generic_lock`, `vop_generic_unlock` and
`vop_generic_i