svn commit: r358134 - head/sys/vm

Warner Losh imp at FreeBSD.org
Thu Feb 20 00:34:47 UTC 2020


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);
 }


More information about the svn-src-all mailing list