Recent changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following changes since commit c90e1017b9384b170d47b97d2353f7bff3b5a34d:

  libaio: pass in 0 for queue depth if we can (2012-09-04 11:51:33 -0600)

are available in the git repository at:
  git://git.kernel.dk/fio.git master

Bruce Cran (1):
      windows: reduce block size used in posix_fallocate()

Jens Axboe (1):
      libaio: use INT_MAX to signal that we don't want the ring buffer

 engines/libaio.c   |    2 +-
 os/windows/posix.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

---

Diff of recent changes:

diff --git a/engines/libaio.c b/engines/libaio.c
index ad7903c..bc459da 100644
--- a/engines/libaio.c
+++ b/engines/libaio.c
@@ -266,7 +266,7 @@ static int fio_libaio_init(struct thread_data *td)
 	 * and we need the right depth.
 	 */
 	if (!o->userspace_reap)
-		err = io_queue_init(0, &ld->aio_ctx);
+		err = io_queue_init(INT_MAX, &ld->aio_ctx);
 	if (o->userspace_reap || err == -EINVAL)
 		err = io_queue_init(td->o.iodepth, &ld->aio_ctx);
 	if (err) {
diff --git a/os/windows/posix.c b/os/windows/posix.c
index 29ed2c5..ce41ef8 100755
--- a/os/windows/posix.c
+++ b/os/windows/posix.c
@@ -377,7 +377,7 @@ char *basename(char *path)
 
 int posix_fallocate(int fd, off_t offset, off_t len)
 {
-	const int BUFFER_SIZE = 64 * 1024 * 1024;
+	const int BUFFER_SIZE = 256 * 1024;
 	int rc = 0;
 	char *buf;
 	unsigned int write_len;
--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux