summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2005-01-25 22:42:50 +0200
committerunknown <heikki@hundin.mysql.fi>2005-01-25 22:42:50 +0200
commit7a220becd2905e1d198c296b0a5b790914340520 (patch)
tree47b9a64e77cf00daab28822186314a2385897070 /innobase
parentd61e212f9e1a468adbd3ed8d1b7222ba2e76e5b0 (diff)
downloadmariadb-git-7a220becd2905e1d198c296b0a5b790914340520.tar.gz
buf0rea.c:
Add more diagnostics about why page reads in recovery may hang: print the number of pending pread calls innobase/buf/buf0rea.c: Add more diagnostics about why page reads in recovery may hang: print the number of pending pread calls
Diffstat (limited to 'innobase')
-rw-r--r--innobase/buf/buf0rea.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/innobase/buf/buf0rea.c b/innobase/buf/buf0rea.c
index 58287d37387..055eede5c1a 100644
--- a/innobase/buf/buf0rea.c
+++ b/innobase/buf/buf0rea.c
@@ -679,7 +679,9 @@ buf_read_recv_pages(
fprintf(stderr,
"InnoDB: Error: InnoDB has waited for 50 seconds for pending\n"
"InnoDB: reads to the buffer pool to be finished.\n"
-"InnoDB: Number of pending reads %lu\n", (ulong) buf_pool->n_pend_reads);
+"InnoDB: Number of pending reads %lu, pending pread calls %lu\n",
+ (ulong) buf_pool->n_pend_reads,
+ (ulong)os_file_n_pending_preads);
os_aio_print_debug = TRUE;
}