Page MenuHomeFreeBSD

exterror.9: explain buffers and bios usage of extended errors
ClosedPublic

Authored by kib on Tue, Nov 18, 4:25 AM.
Tags
None
Referenced Files
F136689374: D53798.id166653.diff
Tue, Nov 18, 10:01 PM
F136651257: D53798.id.diff
Tue, Nov 18, 6:16 PM
F136647011: D53798.id166653.diff
Tue, Nov 18, 5:50 PM
F136646831: D53798.id.diff
Tue, Nov 18, 5:49 PM
F136646818: D53798.id166652.diff
Tue, Nov 18, 5:48 PM
F136646707: D53798.id166648.diff
Tue, Nov 18, 5:48 PM
F136646694: D53798.id166650.diff
Tue, Nov 18, 5:48 PM
F136646211: D53798.diff
Tue, Nov 18, 5:45 PM

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

kib requested review of this revision.Tue, Nov 18, 4:25 AM
pauamma_gundo.com added inline comments.
share/man/man9/exterror.9
117
139–140

I don't understand what you mean by "internalize" here. Can you explain?

171

Pluralize consistently. (See line 209.)

194
209
kib marked 5 inline comments as done.Tue, Nov 18, 4:45 AM
kib added inline comments.
share/man/man9/exterror.9
139–140

curthread has the extended error info internally. The function moves (well, copies) external exterror into that internal state.

kib marked an inline comment as done.

pauamma' fixes

s/to internalize/copying/ fixable on commit.

share/man/man9/exterror.9
139
This revision is now accepted and ready to land.Tue, Nov 18, 4:51 AM
share/man/man9/exterror.9
139

Copying has the meaning of, well, copying of the plain set of bytes from one place into another. I do not want to allow this, which is why there is a helper function that does that. Even if internally it is indeed memcpy right now, that might change, this is why the KPI exterr_set_from() was added.

share/man/man9/exterror.9
139–140

Hmm. Point. On second thought, perhaps remove that whole sentence? I'm not sure what it adds to the previous one.

kib marked 2 inline comments as done.

Remove the sentence.

This revision now requires review to proceed.Tue, Nov 18, 5:24 AM
This revision is now accepted and ready to land.Tue, Nov 18, 5:33 AM