summaryrefslogtreecommitdiffstats
path: root/usr.bin/sgmlfmt/sgmlfmt.pl
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1996-03-26 02:29:11 +0000
committerasami <asami@FreeBSD.org>1996-03-26 02:29:11 +0000
commitb50b9c720907e35eb46b3c6216e7598e7bbc9e5c (patch)
tree78641bc63aa0eefdd59b130e0d6485ada28a13e5 /usr.bin/sgmlfmt/sgmlfmt.pl
parenteae3c9253f3cfd2661f9304525e82035390da7f7 (diff)
downloadFreeBSD-src-b50b9c720907e35eb46b3c6216e7598e7bbc9e5c.zip
FreeBSD-src-b50b9c720907e35eb46b3c6216e7598e7bbc9e5c.tar.gz
Change how mirror writes are handled, according to the discussion on the
mailing list. When initiating a write, ccdbuffer() returns two "struct ccdbuf *"s linked together by the cb_mirror field. "cb_pflags & CCDPF_MIRROR_DONE" is set to 0 on both of them. When a component returns to ccdiodone(), it checks if "cb_pflags & CCDPF_MIRROR_DONE" is set or not. If not, it sets the partner's flag and returns. If it is, it means its partner has already returned, so it will go to the regular cleanup (which is in the fallthrough code). There should be no performance or functionality changes unless the higher-level scsi driver does something with the resid value. The change is purely aesthetical and prepares us for the parity implementation.
Diffstat (limited to 'usr.bin/sgmlfmt/sgmlfmt.pl')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud