devstat(9) manual page is out of date: it mentions devstat_add_entry() which was deprecated long around (in 5.x times IIRC) and now it's not even defined in sys/devicestat.h. I made some changes to devstat(9) manual page: * replaced devstat_add_entry with devstat_new_entry * fixed other function prototypes * added documentation for devstat_start_transaction_bio() * synced MLINKS with currently available functions * Removed some fields from 'struct devstat' description Note: 'struct devstat' description in manual page now misses a number of fields defined in the original struct. I don't have enough devstat(9) subsystem knowledge to provide a meaningful description for those fields.
Hi, it so happened that I have pending changes to devstat(9) too :) waiting for someone's review (attached). Let it be there as well. -- wbr, pluknet
Responsible Changed From-To: freebsd-doc->eadler I'll take it.
Responsible Changed From-To: eadler->freebsd-doc I won't be looking at this PR for a while and I need to clear some out of my queue
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped
*bump* Would be nice if this were committed since I just got confused by the very out of date man page today..
A commit references this bug: Author: gbe Date: Fri Jul 17 22:15:03 UTC 2020 New revision: 363291 URL: https://svnweb.freebsd.org/changeset/base/363291 Log: devstat(9): Update the man page to reflect the current implementation - Rename devstat_add_entry to devstat_new_entry - Update the description of devstat_trans_flags - Add manpage aliases for devstat_start_transaction_bio and devstat_end_transaction_bio PR: 157316 Submitted by: novel Reviewed by: cem, bcr (mentor) Approved by: bcr (mentor) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D25677 Changes: head/ObsoleteFiles.inc head/share/man/man9/Makefile head/share/man/man9/devstat.9
Committed, thanks for the patch!
A commit references this bug: Author: gbe Date: Fri Aug 7 15:03:21 UTC 2020 New revision: 364016 URL: https://svnweb.freebsd.org/changeset/base/364016 Log: MFC r363291: devstat(9): Update the man page to reflect the current implementation - Rename devstat_add_entry to devstat_new_entry - Update the description of devstat_trans_flags - Add manpage aliases for devstat_start_transaction_bio and devstat_end_transaction_bio PR: 157316 Submitted by: novel Reviewed by: cem, bcr Approved by: bcr Differential Revision: https://reviews.freebsd.org/D25677 Changes: _U stable/12/ stable/12/ObsoleteFiles.inc stable/12/share/man/man9/Makefile stable/12/share/man/man9/devstat.9