svn commit: r214116 - head/sys/geom/eli

Pawel Jakub Dawidek pjd at FreeBSD.org
Wed Oct 20 20:01:45 UTC 2010


Author: pjd
Date: Wed Oct 20 20:01:45 2010
New Revision: 214116
URL: http://svn.freebsd.org/changeset/base/214116

Log:
  - Add missing comments.
  - Make a comment consistent with others.

Modified:
  head/sys/geom/eli/g_eli.c
  head/sys/geom/eli/g_eli_integrity.c
  head/sys/geom/eli/g_eli_privacy.c

Modified: head/sys/geom/eli/g_eli.c
==============================================================================
--- head/sys/geom/eli/g_eli.c	Wed Oct 20 19:53:29 2010	(r214115)
+++ head/sys/geom/eli/g_eli.c	Wed Oct 20 20:01:45 2010	(r214116)
@@ -245,8 +245,10 @@ g_eli_orphan(struct g_consumer *cp)
 }
 
 /*
- * BIO_READ : G_ELI_START -> g_io_request -> g_eli_read_done -> g_eli_crypto_run -> g_eli_crypto_read_done -> g_io_deliver
- * BIO_WRITE: G_ELI_START -> g_eli_crypto_run -> g_eli_crypto_write_done -> g_io_request -> g_eli_write_done -> g_io_deliver
+ * BIO_READ:
+ *	G_ELI_START -> g_io_request -> g_eli_read_done -> g_eli_crypto_run -> g_eli_crypto_read_done -> g_io_deliver
+ * BIO_WRITE:
+ *	G_ELI_START -> g_eli_crypto_run -> g_eli_crypto_write_done -> g_io_request -> g_eli_write_done -> g_io_deliver
  */
 static void
 g_eli_start(struct bio *bp)

Modified: head/sys/geom/eli/g_eli_integrity.c
==============================================================================
--- head/sys/geom/eli/g_eli_integrity.c	Wed Oct 20 19:53:29 2010	(r214115)
+++ head/sys/geom/eli/g_eli_integrity.c	Wed Oct 20 20:01:45 2010	(r214116)
@@ -392,6 +392,11 @@ g_eli_auth_read(struct g_eli_softc *sc, 
 /*
  * This is the main function responsible for cryptography (ie. communication
  * with crypto(9) subsystem).
+ *
+ * BIO_READ:
+ *	g_eli_start -> g_eli_auth_read -> g_io_request -> g_eli_read_done -> G_ELI_AUTH_RUN -> g_eli_auth_read_done -> g_io_deliver
+ * BIO_WRITE:
+ *	g_eli_start -> G_ELI_AUTH_RUN -> g_eli_auth_write_done -> g_io_request -> g_eli_write_done -> g_io_deliver
  */
 void
 g_eli_auth_run(struct g_eli_worker *wr, struct bio *bp)

Modified: head/sys/geom/eli/g_eli_privacy.c
==============================================================================
--- head/sys/geom/eli/g_eli_privacy.c	Wed Oct 20 19:53:29 2010	(r214115)
+++ head/sys/geom/eli/g_eli_privacy.c	Wed Oct 20 20:01:45 2010	(r214116)
@@ -166,6 +166,11 @@ g_eli_crypto_write_done(struct cryptop *
 /*
  * This is the main function responsible for cryptography (ie. communication
  * with crypto(9) subsystem).
+ *
+ * BIO_READ:
+ *	g_eli_start -> g_io_request -> g_eli_read_done -> G_ELI_CRYPTO_RUN -> g_eli_crypto_read_done -> g_io_deliver
+ * BIO_WRITE:
+ *	g_eli_start -> G_ELI_CRYPTO_RUN -> g_eli_crypto_write_done -> g_io_request -> g_eli_write_done -> g_io_deliver
  */
 void
 g_eli_crypto_run(struct g_eli_worker *wr, struct bio *bp)


More information about the svn-src-all mailing list