svn commit: r293394 - projects/sendfile/sys/sys

Gleb Smirnoff glebius at FreeBSD.org
Thu Jan 7 23:22:44 UTC 2016


Author: glebius
Date: Thu Jan  7 23:22:43 2016
New Revision: 293394
URL: https://svnweb.freebsd.org/changeset/base/293394

Log:
  SF_NODISKIO is still used, but differently.

Modified:
  projects/sendfile/sys/sys/socket.h

Modified: projects/sendfile/sys/sys/socket.h
==============================================================================
--- projects/sendfile/sys/sys/socket.h	Thu Jan  7 23:18:49 2016	(r293393)
+++ projects/sendfile/sys/sys/socket.h	Thu Jan  7 23:22:43 2016	(r293394)
@@ -585,13 +585,9 @@ struct sf_hdtr {
 
 /*
  * Sendfile-specific flag(s)
- *
- * SF_NODISKIO and SF_MNOWAIT are unused since 11.0, but we keep
- * them in header to keep applications compilable.  We will try to
- * avoid to reuse their bits as long as possible.
  */
-#define	SF_NODISKIO     0x00000001	/* unused */
-#define	SF_MNOWAIT	0x00000002	/* unused */
+#define	SF_NODISKIO     0x00000001
+#define	SF_MNOWAIT	0x00000002	/* obsolete */
 #define	SF_SYNC		0x00000004
 #define	SF_NOCACHE	0x00000010
 #define	SF_FLAGS(rh, flags)	(((rh) << 16) | (flags))


More information about the svn-src-projects mailing list