Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Mar 17, 2015

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit 85492cb89e2421ae71d92b1c88e75efda3ee1f1b:

smalloc: bump initial size to 8 pools (2015-03-03 15:13:17 -0700)

are available in the git repository at:

git://git.kernel.dk/fio.git master

for you to fetch changes up to 95e564523d502e5a682ae7f6ee793ca4c9ca76ca:

rate: remove redundant code in rate_ddir() (2015-03-12 10:05:25 -0600)

----------------------------------------------------------------
Jens Axboe (1):
rate: remove redundant code in rate_ddir()

 io_u.c |    3 ---
 1 file changed, 3 deletions(-)

---

Diff of recent changes:

io_u.c +0 -3
index f61fee8..6567e10 100644
@@ -590,9 +590,6 @@ static enum fio_ddir rate_ddir(struct thread_data *td, enum fio_ddir ddir)
 	if (td_rw(td) && __should_check_rate(td, odir))
 		td->rate_pending_usleep[odir] -= usec;
 
-	if (ddir == DDIR_TRIM)
-		return DDIR_TRIM;
-
 	return ddir;
 }