| To: | Christoph Hellwig <hch@xxxxxx> |
|---|---|
| Subject: | Re: [PATCH 2/9] xfs: split xfs_bmap_btalloc_nullfb |
| From: | Dave Chinner <david@xxxxxxxxxxxxx> |
| Date: | Mon, 14 Apr 2014 17:17:11 +1000 |
| Cc: | xfs@xxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <20140414070325.GA22490@xxxxxx> |
| References: | <1397289723-26243-1-git-send-email-hch@xxxxxx> <1397289723-26243-3-git-send-email-hch@xxxxxx> <20140414015544.GH27694@dastard> <20140414070325.GA22490@xxxxxx> |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
On Mon, Apr 14, 2014 at 09:03:25AM +0200, Christoph Hellwig wrote: > On Mon, Apr 14, 2014 at 11:55:44AM +1000, Dave Chinner wrote: > > > +static void > > > +xfs_bmap_fix_args( > > > + struct xfs_bmalloca *ap, > > > + struct xfs_alloc_arg *args, > > > + xfs_extlen_t *blen, > > > + int notinit) > > > > Not a big fan of the "fix_args" name here. What it's actually doing > > is setting the minimum allocation length. Also, it could return the > > minimum length rather than set it inside the function, and pass > > blen by value rather than reference as it isn't modified in the > > function... > > Sure. A any good suggestion for a name? <shrug> xfs_bmap_select_minlen()? Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx |
| Previous by Date: | [ANNOUNCE] xfsprogs: v3.2.0-rc1 tagged, Dave Chinner |
|---|---|
| Next by Date: | [XFS updates] XFS development tree branch, master, updated. xfs-for-linus-3.15-rc1-14826-gc9eaa44, xfs |
| Previous by Thread: | Re: [PATCH 2/9] xfs: split xfs_bmap_btalloc_nullfb, Christoph Hellwig |
| Next by Thread: | [PATCH 6/9] xfs: rewrite the filestream allocator using the dentry cache, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |