| To: | Dave Chinner <david@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 1/5] xfs: don't try to mark uncached buffers stale on error. |
| From: | Mark Tinguely <tinguely@xxxxxxx> |
| Date: | Tue, 24 Sep 2013 10:31:58 -0500 |
| Cc: | xfs@xxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <1380002476-18839-2-git-send-email-david@xxxxxxxxxxxxx> |
| References: | <1380002476-18839-1-git-send-email-david@xxxxxxxxxxxxx> <1380002476-18839-2-git-send-email-david@xxxxxxxxxxxxx> |
| User-agent: | Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120122 Thunderbird/9.0 |
On 09/24/13 01:01, Dave Chinner wrote: From: Dave Chinner<dchinner@xxxxxxxxxx> fsstress failed during a shutdown with the following assert: XFS: Assertion failed: xfs_buf_islocked(bp), file: fs/xfs/xfs_buf.c, line: 143 ..... xfs_buf_stale+0x3f/0xf0 xfs_bioerror_relse+0x2d/0x90 xfsbdstrat+0x51/0xa0 xfs_zero_remaining_bytes+0x1d1/0x2d0 xfs_free_file_space+0x5d0/0x600 xfs_change_file_space+0x251/0x3a0 xfs_ioc_space+0xcc/0x130 ..... xfs_zero_remaining_bytes() works with uncached buffers, and hence if we are preventing IO due to a shutdown, we should not be marking it stale as that is only for cached buffers. Instead, just mark it with an error and make sure it gets to the caller. Signed-off-by: Dave Chinner<dchinner@xxxxxxxxxx> --- Looks good. Reviewed-by: Mark Tinguely <tinguely@xxxxxxx> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH v2] xfs: improve xfs_iext_destroy() by freeing extent indirection array directly, Jeff Liu |
|---|---|
| Next by Date: | Re: [PATCH 1/5] xfs: don't try to mark uncached buffers stale on error., Ben Myers |
| Previous by Thread: | [PATCH 1/5] xfs: don't try to mark uncached buffers stale on error., Dave Chinner |
| Next by Thread: | Re: [PATCH 1/5] xfs: don't try to mark uncached buffers stale on error., Ben Myers |
| Indexes: | [Date] [Thread] [Top] [All Lists] |