Page MenuHomeFreeBSD

crypto: Remove all uses of CRYPTO_F_DONE
AcceptedPublic

Authored by markj on Aug 17 2022, 10:09 PM.
Tags
None
Referenced Files
F84046197: D36252.id.diff
Sat, May 18, 2:40 PM
Unknown Object (File)
Sat, May 11, 9:53 AM
Unknown Object (File)
Sat, May 11, 9:52 AM
Unknown Object (File)
Thu, May 9, 11:53 PM
Unknown Object (File)
Sat, Apr 27, 10:28 PM
Unknown Object (File)
Mon, Apr 22, 8:48 AM
Unknown Object (File)
Mon, Apr 22, 8:35 AM
Unknown Object (File)
Feb 4 2024, 3:34 AM

Details

Reviewers
jhb
pauamma_gundo.com
Group Reviewers
manpages
Summary

This flag is not very useful and has no consumers. Leave the flag
definition for now to allow old OpenZFS to compile without a version
bump.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 47011
Build 43900: arc lint + arc unit

Event Timeline

pauamma_gundo.com added inline comments.
share/man/man9/crypto_request.9
476–486

Perhaps better, to match the comment in sys/opencrypto/cryptodev.h?

I think it's fine if we leave the flag undocumented. I suspect we can remove it outright before 14.0 ships. We should perhaps mark it as deprecated in 13.x though and update the documentation to say that in 13?

This revision is now accepted and ready to land.Aug 23 2022, 10:06 PM
In D36252#824847, @jhb wrote:

We should perhaps mark it as deprecated in 13.x though and update the documentation to say that in 13?

The documentation (in stable/13) already says, "This flag is not very useful and will likely be removed in the future." Do you think that's sufficient?

share/man/man9/crypto_request.9
476–486

The flag is only still defined because OpenZFS sources reference it. Since it's just there to provide source compatibility, I think it's better to leave it undocumented. It will be removed outright soon enough.

In D36252#824847, @jhb wrote:

We should perhaps mark it as deprecated in 13.x though and update the documentation to say that in 13?

The documentation (in stable/13) already says, "This flag is not very useful and will likely be removed in the future." Do you think that's sufficient?

Oh, hah, I guess I already had a dim view of it then. Yes, I think that's fine. Maybe we adjust the comment to say it is has been removed in 14 as a direct commit to stable/13 just to be clear?

pauamma_gundo.com added inline comments.
share/man/man9/crypto_request.9
476–486

OK then.