FreeBSD Bugzilla – Attachment 131546 Details for
Bug 175630
New port: benchmarks/iorate A general purpose storage I/O benchmarking tool
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 6.03 KB, created by
Vasiliy Ch
on 2013-01-27 13:40:00 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Vasiliy Ch
Created:
2013-01-27 13:40:00 UTC
Size:
6.03 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># iorate ># iorate/Makefile ># iorate/pkg-descr ># iorate/distinfo ># iorate/files ># iorate/files/patch-ior_mach.c ># iorate/files/patch-ior_mach.h ># iorate/files/patch-makefile ># >echo c - iorate >mkdir -p iorate > /dev/null 2>&1 >echo x - iorate/Makefile >sed 's/^X//' >iorate/Makefile << 'a8fdcb72a588e1b736765129672042d0' >X# $FreeBSD$ >X >XPORTNAME= iorate >XPORTVERSION= 3.05 >XCATEGORIES= benchmarks >XMASTER_SITES= http://sites.google.com/site/vwiorate/downloads/3-05/ >XDISTNAME= iorate-3.05-src >XEXTRACT_SUFX= .tar >X >XMAINTAINER= blttll@gmail.com >XCOMMENT= A general purpose storage I/O benchmarking tool >X >XMAN1= iorate.1 >XFETCH_ARGS= -Fpr >XNO_WRKSUBDIR= yes >XMAKEFILE= makefile >XMAKE_ENV+= PREFIX="${PREFIX}" >XMAKE_ENV+= DOCSDIR="${DOCSDIR}" >XMAKE_ENV+= MANPREFIX="${MANPREFIX}" >XPLIST_FILES= bin/ior_rand \ >X bin/iorate \ >X share/doc/iorate/README \ >X share/doc/iorate/README.versions \ >X share/doc/iorate/cycle \ >X share/doc/iorate/run_test \ >X share/doc/iorate/run_var \ >X share/doc/iorate/run_ast \ >X share/doc/iorate/gen_dev.awk \ >X share/doc/iorate/gen_devs \ >X share/doc/iorate/gen_iops \ >X share/doc/iorate/gen_iops.awk \ >X share/doc/iorate/gen_stats \ >X share/doc/iorate/gen_stats.awk \ >X share/doc/iorate/gen_sum.awk \ >X share/doc/iorate/gen_sums \ >X share/doc/iorate/gen_totals \ >X share/doc/iorate/gen_totals.awk \ >X share/doc/iorate/devices.ior \ >X share/doc/iorate/patterns.ior \ >X share/doc/iorate/tests-ast.ior \ >X share/doc/iorate/tests-fx.ior \ >X share/doc/iorate/tests-var.ior \ >X share/doc/iorate/tests.ior >XPLIST_DIRS= share/doc/iorate >X >X.include <bsd.port.mk> >a8fdcb72a588e1b736765129672042d0 >echo x - iorate/pkg-descr >sed 's/^X//' >iorate/pkg-descr << 'a0bf67783870b47fc961bff5f40d02ff' >XIorate is a general purpose storage I/O benchmarking tool. >X >XIorate was created in 1997 by Vince Westin of EMC while working with Cliff >XBurrell of FedEx to fill a need to perform a set of storage I/O benchmarks. >XThough Iorate was developed by EMC staff with EMC resources there are no >XEMC-specific pieces to the testing, it just tests storage. >X >XIorate is freely available for public use. >X >XAuthor: Iorate was created in 1997 by Vince Westin of EMC >XWWW: http://iorate.org/ >a0bf67783870b47fc961bff5f40d02ff >echo x - iorate/distinfo >sed 's/^X//' >iorate/distinfo << 'c6f8fae4e1a518b3da4a296a56799915' >XSHA256 (iorate-3.05-src.tar) = 6305413dc3ac7d833b0e4d99e30ac6cfd67b2f943b758166a3661c8f96b2480e >XSIZE (iorate-3.05-src.tar) = 460800 >c6f8fae4e1a518b3da4a296a56799915 >echo c - iorate/files >mkdir -p iorate/files > /dev/null 2>&1 >echo x - iorate/files/patch-ior_mach.c >sed 's/^X//' >iorate/files/patch-ior_mach.c << '5fedfe2fc2bdaa8df416475e00291cec' >X--- ior_mach.c_orig 2013-01-27 02:03:38.000000000 +0200 >X+++ ior_mach.c 2013-01-27 04:52:47.000000000 +0200 >X@@ -411,6 +411,10 @@ >X }; >X >X #else >X+#if defined(IOR_LARGE_FILES) && defined(__FreeBSD__) >X+#define IOR_SET_LOCK_FLAG F_SETLK >X+ struct flock d_lock; /* lock command to run */ >X+#else >X #ifdef IOR_LARGE_FILES >X #define IOR_SET_LOCK_FLAG F_SETLK64 >X struct flock64 d_lock; /* lock command to run */ >X@@ -418,6 +422,7 @@ >X #define IOR_SET_LOCK_FLAG F_SETLK >X struct flock d_lock; /* lock command to run */ >X #endif >X+#endif >X >X result = 0; /* all OK so far */ >X >X@@ -486,6 +491,10 @@ >X }; >X >X #else >X+#if defined(IOR_LARGE_FILES) && defined(__FreeBSD__) >X+#define IOR_SET_LOCK_FLAG F_SETLK >X+ struct flock d_lock; /* lock command to run */ >X+#else >X #ifdef IOR_LARGE_FILES >X #define IOR_SET_LOCK_FLAG F_SETLK64 >X struct flock64 d_lock; /* lock command to run */ >X@@ -493,6 +502,7 @@ >X #define IOR_SET_LOCK_FLAG F_SETLK >X struct flock d_lock; /* lock command to run */ >X #endif >X+#endif >X >X result = 0; /* all OK so far */ >X >5fedfe2fc2bdaa8df416475e00291cec >echo x - iorate/files/patch-ior_mach.h >sed 's/^X//' >iorate/files/patch-ior_mach.h << 'c3f089872f9d6537386f75215a31c32d' >X--- ior_mach.h_orig 2013-01-27 01:03:32.000000000 +0200 >X+++ ior_mach.h 2013-01-27 01:53:51.000000000 +0200 >X@@ -142,7 +142,6 @@ >X #define IOR_MAX_SEEK (HUGE)(4398046511104LL) /* 4 TB */ >X #endif >X >X- >X /************************ OS is LINUX? ************************/ >X /* >X * Since RedHat uses their own version, check for it >X@@ -203,6 +202,16 @@ >X #endif >X >X >X+/************************ OS is FreeBSD? ***********************/ >X+#ifdef __FreeBSD__ >X+#include <unistd.h> >X+#ifdef IOR_LARGE_FILES >X+#define HUGE __off_t >X+#define IOR_SEEK lseek >X+#define IOR_MAX_SEEK (HUGE)(4398046511104LL) /* 4 TB */ >X+#endif >X+#endif >X+ >X /************************ OS is unknown? ************************/ >X /* >X * OK, not a known type, or did not set up large file support >X@@ -240,7 +249,7 @@ >X /* >X * process exit status >X */ >X-#if defined( _AIX ) || defined( HPUX ) || defined( __CYGWIN__ ) >X+#if defined( _AIX ) || defined( HPUX ) || defined( __CYGWIN__ ) || defined(__FreeBSD__) >X #include <sys/wait.h> >X #else >X #include <wait.h> >c3f089872f9d6537386f75215a31c32d >echo x - iorate/files/patch-makefile >sed 's/^X//' >iorate/files/patch-makefile << '6a7c2623aa957278e7d5da39aaf1c22a' >X--- makefile_orig 2011-10-14 08:36:41.000000000 +0300 >X+++ makefile 2013-01-27 07:07:58.000000000 +0200 >X@@ -138,3 +138,32 @@ >X mv y.tab.h $*.h >X mv y.output $*.stats >X >X+install: >X+ install iorate \ >X+ ior_rand \ >X+ ${PREFIX}/bin >X+ install -d ${DOCSDIR} >X+ install README \ >X+ README.versions \ >X+ cycle \ >X+ run_test \ >X+ run_var \ >X+ run_ast \ >X+ gen_dev.awk \ >X+ gen_devs \ >X+ gen_iops \ >X+ gen_iops.awk \ >X+ gen_stats \ >X+ gen_stats.awk \ >X+ gen_sum.awk \ >X+ gen_sums \ >X+ gen_totals \ >X+ gen_totals.awk \ >X+ devices.ior \ >X+ patterns.ior \ >X+ tests-ast.ior \ >X+ tests-fx.ior \ >X+ tests-var.ior \ >X+ tests.ior \ >X+ ${DOCSDIR} >X+ install iorate.1 ${MANPREFIX}/man/man1 >6a7c2623aa957278e7d5da39aaf1c22a >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 175630
: 131546