| To: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 2/8] xfs: remove xfs_cancel_ioend |
| From: | Dave Chinner <david@xxxxxxxxxxxxx> |
| Date: | Fri, 12 Feb 2016 07:59:16 +1100 |
| Cc: | xfs@xxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <20160211151425.GB13515@xxxxxxxxxxxxx> |
| References: | <1455094043-9694-1-git-send-email-david@xxxxxxxxxxxxx> <1455094043-9694-3-git-send-email-david@xxxxxxxxxxxxx> <20160210112800.GA15221@xxxxxxxxxxxxx> <20160211002137.GR14668@dastard> <20160211151425.GB13515@xxxxxxxxxxxxx> |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
On Thu, Feb 11, 2016 at 07:14:25AM -0800, Christoph Hellwig wrote: > On Thu, Feb 11, 2016 at 11:21:37AM +1100, Dave Chinner wrote: > > I'll propagate it through where it makes sense. If we alrady have an > > error, then we aren't going to call xfs_setfilesize_trans_alloc() > > anyway, so checking the return value only matters in the non-error > > cases. > > Oh, I missed that we don't care about the failure case. Maybe we > should just call xfs_setfilesize_trans_alloc instead, and just move > the conditionals to it so that it's a no-op if no transaction is needed? OK, but let's make cleanups like this at the start of the next batch of work we are already working on for this code so this can be finalised and made available for wider testing.... Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx |
| Previous by Date: | Re: [PATCH v2 2/2] dax: move writeback calls into the filesystems, Dan Williams |
|---|---|
| Next by Date: | Re: [PATCH v2 2/2] dax: move writeback calls into the filesystems, Dave Chinner |
| Previous by Thread: | Re: [PATCH 2/8] xfs: remove xfs_cancel_ioend, Christoph Hellwig |
| Next by Thread: | [PATCH 1/8] xfs: remove nonblocking mode from xfs_vm_writepage, Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |