Commit 3ec83948 authored by Stephen Hemminger's avatar Stephen Hemminger

[PATCH] Turn off aio printk meant for debugging (2.5.64)

The following messages are of interest only when debugging aio.
Otherwise, they are just console clutter.
parent 9df53b3b
......@@ -76,7 +76,7 @@ static int __init aio_setup(void)
aio_wq = create_workqueue("aio");
printk(KERN_NOTICE "aio_setup: sizeof(struct page) = %d\n", (int)sizeof(struct page));
pr_debug("aio_setup: sizeof(struct page) = %d\n", (int)sizeof(struct page));
return 0;
}
......@@ -1193,7 +1193,7 @@ asmlinkage long sys_io_cancel(aio_context_t ctx_id, struct iocb *iocb,
if (NULL != cancel) {
struct io_event tmp;
printk("calling cancel\n");
pr_debug("calling cancel\n");
memset(&tmp, 0, sizeof(tmp));
tmp.obj = (u64)(unsigned long)kiocb->ki_user_obj;
tmp.data = kiocb->ki_user_data;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment