jhb
e09154bf75
Rework pathconf handling for FIFOs.
...
On the one hand, FIFOs should respect other variables not supported by
the fifofs vnode operation (such as _PC_NAME_MAX, _PC_LINK_MAX, etc.).
These values are fs-specific and must come from a fs-specific method.
On the other hand, filesystems that support FIFOs are required to
support _PC_PIPE_BUF on directory vnodes that can contain FIFOs.
Given this latter requirement, once the fs-specific VOP_PATHCONF
method supports _PC_PIPE_BUF for directories, it is also suitable for
FIFOs permitting a single VOP_PATHCONF method to be used for both
FIFOs and non-FIFOs.
To that end, retire all of the FIFO-specific pathconf methods from
filesystems and change FIFO-specific vnode operation switches to use
the existing fs-specific VOP_PATHCONF method. For fifofs, set it's
VOP_PATHCONF to VOP_PANIC since it should no longer be used.
While here, move _PC_PIPE_BUF handling out of vop_stdpathconf() so that
only filesystems supporting FIFOs will report a value. In addition,
only report a valid _PC_PIPE_BUF for directories and FIFOs.
Discussed with: bde
Reviewed by: kib (part of a larger patch)
MFC after: 1 month
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D12572
2017-12-19 22:39:05 +00:00
..
2017-01-15 17:54:01 +00:00
2017-10-12 15:45:53 +00:00
2016-05-18 04:35:58 +00:00
2017-04-13 15:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-03-21 18:02:14 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-30 20:33:45 +00:00
2017-11-27 15:20:12 +00:00
2017-11-30 20:33:45 +00:00
2017-11-24 07:35:08 +00:00
2017-10-12 15:48:37 +00:00
2017-11-18 14:26:50 +00:00
2017-11-27 15:20:12 +00:00
2017-11-25 23:41:05 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-12-19 18:20:38 +00:00
2017-11-27 15:20:12 +00:00
2017-10-18 15:38:05 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-10-25 00:51:00 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-25 04:49:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-28 23:40:54 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-01-25 20:22:32 +00:00
2017-04-17 16:51:04 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-23 11:25:11 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-21 14:59:23 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-10-13 16:31:50 +00:00
2017-11-27 15:20:12 +00:00
2017-11-25 23:41:05 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-12-19 10:05:45 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-25 23:41:05 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-18 14:26:50 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2016-04-29 22:15:33 +00:00
2016-07-28 21:29:04 +00:00
2017-05-23 09:29:05 +00:00
2017-12-13 16:30:39 +00:00
2016-05-26 19:29:29 +00:00
2016-05-16 09:11:40 +00:00
2017-11-18 14:26:50 +00:00
2016-08-19 10:52:39 +00:00
2017-11-18 14:26:50 +00:00
2017-11-20 19:43:44 +00:00
2017-11-29 23:28:40 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-08-07 14:09:57 +00:00
2017-11-27 15:20:12 +00:00
2017-11-30 20:33:45 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-10-05 14:43:30 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-08-16 16:51:55 +00:00
2017-11-29 12:49:22 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-28 05:39:48 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-12-07 07:55:38 +00:00
2017-11-20 19:43:44 +00:00
2016-05-20 17:57:47 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-02-07 17:31:24 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-18 14:26:50 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-18 14:26:50 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-11-28 23:40:54 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-12-01 11:18:19 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-06-17 00:58:19 +00:00
2017-11-28 18:23:17 +00:00
2017-06-17 00:58:19 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-11-27 15:20:12 +00:00
2017-12-01 22:51:02 +00:00
2017-11-20 19:43:44 +00:00
2017-12-19 22:39:05 +00:00
2017-11-20 19:43:44 +00:00
2017-12-13 16:14:38 +00:00
2017-11-27 15:20:12 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-06-02 17:31:25 +00:00