Date: Thu, 20 Feb 2020 00:34:47 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r358134 - head/sys/vm Message-ID: <202002200034.01K0YlnX056119@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Thu Feb 20 00:34:46 2020 New Revision: 358134 URL: https://svnweb.freebsd.org/changeset/base/358134 Log: Don't spam the console with an additional, and useless, error message. There's no need to spam the console with this error message. If there's an I/O error, the disk/cam driver will report it at the lower levels. If that's an actual problem, the upper layers will report that. Reviewed by: kib@ Differential Revision: https://reviews.freebsd.org/D23756 Modified: head/sys/vm/vnode_pager.c Modified: head/sys/vm/vnode_pager.c ============================================================================== --- head/sys/vm/vnode_pager.c Wed Feb 19 22:34:22 2020 (r358133) +++ head/sys/vm/vnode_pager.c Thu Feb 20 00:34:46 2020 (r358134) @@ -1169,8 +1169,6 @@ vnode_pager_generic_getpages_done(struct buf *bp) vm_page_readahead_finish(mt); } VM_OBJECT_RUNLOCK(object); - if (error != 0) - printf("%s: I/O read error %d\n", __func__, error); return (error); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002200034.01K0YlnX056119>