Skip to content

Commit

Permalink
Merge branch 'wip-zero-copy-bufferlist-last'
Browse files Browse the repository at this point in the history
Reviewed-by: Samuel Just <[email protected]>
  • Loading branch information
jdurgin committed Nov 26, 2013
2 parents 784d188 + 03d63c4 commit 29ef3d4
Show file tree
Hide file tree
Showing 6 changed files with 581 additions and 14 deletions.
14 changes: 14 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,20 @@ AC_CHECK_MEMBER([struct stat.st_mtimespec.tv_nsec],
[AC_DEFINE(HAVE_STAT_ST_MTIMESPEC_TV_NSEC, 1,
[Define if you have struct stat.st_mtimespec.tv_nsec])])

# splice/tee
AC_CHECK_FUNC([splice],
[AC_DEFINE([CEPH_HAVE_SPLICE], [], [splice(2) is supported])],
[])


AC_CHECK_HEADERS([arpa/nameser_compat.h])

AC_COMPILE_IFELSE([AC_LANG_SOURCE([[#include <fcntl.h>
F_SETPIPE_SZ]])],
[AC_DEFINE([CEPH_HAVE_SETPIPE_SZ], [], [F_SETPIPE_SZ is supported])],
[AC_MSG_NOTICE(["F_SETPIPE_SZ not found, zero-copy may be less efficent"])])


AC_CHECK_HEADERS([arpa/nameser_compat.h])
AC_CHECK_HEADERS([sys/prctl.h])
AC_CHECK_FUNCS([prctl])
Expand Down
Loading

0 comments on commit 29ef3d4

Please sign in to comment.