Class: Nl::Linux::Nfsd::Messages::DoUnlockExportRequest
- Inherits:
-
Genl::Message
- Object
- Raw::Message
- Genl::Message
- Nl::Linux::Nfsd::Messages::DoUnlockExportRequest
- Defined in:
- nl-linux/generated/nl/linux/nfsd.rb
Overview
Revoke NFSv4 state acquired through exports of a given path. Unlike unlock-filesystem, which operates at superblock granularity, this command targets only state associated with a specific export path. Userspace (exportfs -u) sends this after removing the last client for a path so the underlying filesystem can be unmounted.
Requires CAP_NET_ADMIN in the initial user namespace.
Constant Summary collapse
- TYPE =
18- FIXED_HEADER =
nil- ATTRIBUTE_SET =
AttributeSets::UnlockExport
- ATTRIBUTES =
Ractor.make_shareable(%i[path])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#path ⇒ String
Export path whose NFSv4 state should be revoked.
Methods inherited from Genl::Message
Methods inherited from Raw::Message
#append_attribute, decode, #initialize
Methods included from StructuredPayload
Constructor Details
This class inherits a constructor from Nl::Raw::Message
Instance Method Details
#path ⇒ String
Export path whose NFSv4 state should be revoked. All state (opens, locks, delegations, layouts) acquired through any export of this path is revoked, regardless of which client holds the state. Intended for use after all clients have been unexported from a given path, enabling the underlying filesystem to be unmounted.
1622 |
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 1622 def path; attributes[:"path"]&.value; end |