Commit 7a220bec authored by unknown's avatar unknown
Browse files

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
parent d61e212f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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;
			}