Page MenuHomeFreeBSD

Only call sigdeferstop() for NFS.
ClosedPublic

Authored by kib on Oct 22 2018, 11:48 PM.
Tags
None
Referenced Files
F101328496: D17658.id49478.diff
Sun, Oct 27, 9:44 PM
F101282283: D17658.id49478.diff
Sun, Oct 27, 4:22 AM
Unknown Object (File)
Fri, Oct 18, 7:49 PM
Unknown Object (File)
Sat, Oct 12, 3:25 PM
Unknown Object (File)
Tue, Oct 1, 1:38 PM
Unknown Object (File)
Mon, Sep 30, 2:58 PM
Unknown Object (File)
Sep 18 2024, 10:23 AM
Unknown Object (File)
Sep 12 2024, 9:32 AM
Subscribers

Details

Summary

Use bypass to catch any NFS VOP dispatch and route it through the wrapper which does sigdeferstop() and then dispatches original VOP. NFS does not need a bypass below it, which is not supported.

The vop offset in the vop_vector is added since otherwise it is impossible to get vop_op_t from the internal table, and I did not wanted to create the layered fs only to wrap NFS VOPs.

VFS_OP()s wrap is straightforward.

Test Plan

Peter, could you, please, check the change ? NFS is the most interesting case.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 20345

Event Timeline

This revision is now accepted and ready to land.Oct 23 2018, 3:21 AM
kib added a subscriber: pho.
This revision was automatically updated to reflect the committed changes.