xfs
[Top] [All Lists]

PARTIAL TAKE 980084 - Warn if errors come from block_truncate_page().

To: sgi.bugs.xfs@xxxxxxxxxxxx
Subject: PARTIAL TAKE 980084 - Warn if errors come from block_truncate_page().
From: dgc@xxxxxxx (David Chinner)
Date: Wed, 9 Apr 2008 17:24:18 +1000 (EST)
Cc: xfs@xxxxxxxxxxx
Sender: xfs-bounce@xxxxxxxxxxx
Warn if errors come from block_truncate_page().

block_truncate_page() can return errors that we currently
ignore and silently discard. We should not ever get errors
reported here - an error indicates a bug somewhere else.
Hence catch the error and issue a stack dump to the syslog
because we cannot propagate the error any further up the
call chain.


Date:  Wed Apr  9 17:24:00 AEST 2008
Workarea:  chook.melbourne.sgi.com:/build/dgc/isms/2.6.x-xfs
Inspected by:  xaiki@xxxxxxx

The following file(s) were checked into:
  longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb


Modid:  xfs-linux-melb:xfs-kern:30800a
fs/xfs/linux-2.6/xfs_iops.c - 1.282 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_iops.c.diff?r1=text&tr1=1.282&r2=text&tr2=1.281&f=h
        - Warn if errors come from block_truncate_page().



<Prev in Thread] Current Thread [Next in Thread>
  • PARTIAL TAKE 980084 - Warn if errors come from block_truncate_page()., David Chinner <=