Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2016 14:28:52 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r428489 - in head/benchmarks/fio: . files
Message-ID:  <201612131428.uBDESqSl056578@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Tue Dec 13 14:28:51 2016
New Revision: 428489
URL: https://svnweb.freebsd.org/changeset/ports/428489

Log:
  benchmarks/fio: use pshared mutex on 11.0+
  
  PR:		215254
  Approved by:	bapt (maintainer)

Added:
  head/benchmarks/fio/files/
  head/benchmarks/fio/files/patch-os_os-freebsd.h   (contents, props changed)
Modified:
  head/benchmarks/fio/Makefile   (contents, props changed)

Modified: head/benchmarks/fio/Makefile
==============================================================================
--- head/benchmarks/fio/Makefile	Tue Dec 13 14:26:11 2016	(r428488)
+++ head/benchmarks/fio/Makefile	Tue Dec 13 14:28:51 2016	(r428489)
@@ -3,6 +3,7 @@
 
 PORTNAME=	fio
 PORTVERSION=	2.15
+PORTREVISION=	1
 CATEGORIES=	benchmarks
 MASTER_SITES=	http://brick.kernel.dk/snaps/
 

Added: head/benchmarks/fio/files/patch-os_os-freebsd.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/benchmarks/fio/files/patch-os_os-freebsd.h	Tue Dec 13 14:28:51 2016	(r428489)
@@ -0,0 +1,12 @@
+--- os/os-freebsd.h.orig	2016-10-25 18:38:13 UTC
++++ os/os-freebsd.h
+@@ -22,6 +22,9 @@
+ #define FIO_HAVE_TRIM
+ #define FIO_HAVE_GETTID
+ #define FIO_HAVE_CPU_AFFINITY
++#if _POSIX_THREAD_PROCESS_SHARED > 0
++#define FIO_HAVE_PSHARED_MUTEX
++#endif
+ 
+ #define OS_MAP_ANON		MAP_ANON
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612131428.uBDESqSl056578>