xfs: tone down writepage/releasepage WARN_ONs
authorChristoph Hellwig <hch@infradead.org>
Fri, 6 Jun 2014 06:05:15 +0000 (16:05 +1000)
committerDave Chinner <david@fromorbit.com>
Fri, 6 Jun 2014 06:05:15 +0000 (16:05 +1000)
commit448011e2ab1c44f7990a62649580bde0da5242b5
tree78fd087d470f28bb67de5165a5471f69a26f352f
parent72208ee060635dfab2b3bd447a95e0f9c419e954
xfs: tone down writepage/releasepage WARN_ONs

I recently ran into the issue fixed by

  "xfs: kill buffers over failed write ranges properly"

which spams the log with lots of backtraces.  Make debugging any
issues like that easier by using WARN_ON_ONCE in the writeback code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_aops.c