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);
 }
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to