| To: | Dave Chinner <david@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 5/9] xfs: xfs_bioerror can die. |
| From: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
| Date: | Thu, 28 Aug 2014 17:28:25 -0700 |
| Cc: | xfs@xxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <1408084747-4540-6-git-send-email-david@xxxxxxxxxxxxx> |
| References: | <1408084747-4540-1-git-send-email-david@xxxxxxxxxxxxx> <1408084747-4540-6-git-send-email-david@xxxxxxxxxxxxx> |
| User-agent: | Mutt/1.5.23 (2014-03-12) |
On Fri, Aug 15, 2014 at 04:39:03PM +1000, Dave Chinner wrote: > Internal buffer write error handling is a mess due to the unnatural > split between xfs_bioerror and xfs_bioerror_relse(). The buffer > reference counting is also wrong for the xfs_bioerror path for > xfs_bwrite - it uses sync IO and so xfs_buf_ioend will release a > hold count that was never taken. Which seems to be cause by patch 1 in the series, and thus the additional hold for the error case should be introduced there. Otherwise this looks good to me. |
| Previous by Date: | Re: [PATCH 4/9] xfs: kill xfs_bdstrat_cb, Christoph Hellwig |
|---|---|
| Next by Date: | Re: [PATCH 6/9] xfs: kill xfs_bioerror_relse, Christoph Hellwig |
| Previous by Thread: | Re: [PATCH 5/9] xfs: xfs_bioerror can die., Dave Chinner |
| Next by Thread: | Re: [PATCH 5/9] xfs: xfs_bioerror can die., Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |