Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Apr 23, 2015

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit 9e98688960347b9b733db9426fb7747f22d3a77e:

Fix off-by-one in cpus_allowed (2015-04-21 09:39:32 -0600)

are available in the git repository at:

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

for you to fetch changes up to 8a16f59b66e5198050ec735998692ba9436a9884:

blktrace: only probe and set depth if option isn't set (2015-04-22 19:54:54 -0600)

----------------------------------------------------------------
Jens Axboe (2):
configure: check for more of the used MTD features
blktrace: only probe and set depth if option isn't set

 blktrace.c | 5 ++---
 configure  | 1 +
 2 files changed, 3 insertions(+), 3 deletions(-)

---

Diff of recent changes:

blktrace.c +2 -3
index 9afc5be..e63c708 100644
@@ -456,10 +456,9 @@ int load_blktrace(struct thread_data *td, const char *filename, int need_swap)
 	td->o.odirect = 1;
 
 	/*
-	 * we don't know if this option was set or not. it defaults to 1,
-	 * so we'll just guess that we should override it if it's still 1
+	 * If depth wasn't manually set, use probed depth
 	 */
-	if (td->o.iodepth == 1)
+	if (!fio_option_is_set(&td->o, iodepth))
 		td->o.iodepth = td->o.iodepth_low = depth;
 
 	return 0;
configure +1 -0
index ff97200..8e496b0 100755
@@ -1378,6 +1378,7 @@ cat > $TMPC << EOF
 int main(int argc, char **argv)
 {
   struct mtd_info_user info;
+  info.type = MTD_MLCNANDFLASH;
   return ioctl(0, MEMGETINFO, &info);
 }
 EOF