| To: | Dave Chinner <david@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 01/14] xfs: convert log grant ticket queues to list heads |
| From: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
| Date: | Tue, 30 Nov 2010 17:59:00 -0500 |
| Cc: | xfs@xxxxxxxxxxx |
| In-reply-to: | <1290994712-21376-2-git-send-email-david@xxxxxxxxxxxxx> |
| References: | <1290994712-21376-1-git-send-email-david@xxxxxxxxxxxxx> <1290994712-21376-2-git-send-email-david@xxxxxxxxxxxxx> |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
On Mon, Nov 29, 2010 at 12:38:19PM +1100, Dave Chinner wrote: > From: Dave Chinner <dchinner@xxxxxxxxxx> > > The grant write and reserve queues use a roll-your-own double linked > list, so convert it to a standard list_head structure and convert > all the list traversals to use list_for_each_entry(). We can also > get rid of the XLOG_TIC_IN_Q flag as we can use the list_empty() > check to tell if the ticket is in a list or not. Looks good, Reviewed-by: Christoph Hellwig <hch@xxxxxx> A minor comment below: > - __field(void *, reserve_headq) > - __field(void *, write_headq) > + __field(void *, reserveq) > + __field(void *, writeq) Not sure why added these to the traces originally, but imho it's pretty pointless. If we care at all we could log a boolean flag if the queues are empty or not. |
| Previous by Date: | Re: [PATCH 3/8] xfs: bulk AIL insertion during transaction commit, Christoph Hellwig |
|---|---|
| Next by Date: | Re: xfstests: getfacl -n unsupported in older acl package, Dave Chinner |
| Previous by Thread: | [PATCH 01/14] xfs: convert log grant ticket queues to list heads, Dave Chinner |
| Next by Thread: | [PATCH 07/14] xfs: convert l_tail_lsn to an atomic variable., Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |