login
Header Space

 
 

Re: [PATCH 3/4] XFS: Return case-insensitive match for dentry cache

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Barry Naujok <bnaujok@...>
Cc: <xfs@...>, <linux-fsdevel@...>, <aia21@...>
Date: Tuesday, May 13, 2008 - 4:57 am

First please Cc Anton on this as he wrote the original version of
what's now d_add_ci, I suspect he might have some useful comments.


On Tue, May 13, 2008 at 05:57:52PM +1000, Barry Naujok wrote:

That is a way to implement this correctly, but I suspect not creating
negative dentries will degrade performance quite badly on some
workloads.  Then again CI is useful only for samba serving where the
namecache on the client side should mitigate that effect.

We'd probably be better off long-term implementing Anton's earlier
suggestion to have a routine that purges all ci aliased negative
dentries on a successfull lookup.







Putting a function call inside XFS_ERROR is quite unreadable.  Should be
easy to fix as there's already an error variable in scope.



normal style would be to add a out_free_name label for this one to move
the error handling code into one place at the end of the function.
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 3/4] XFS: Return case-insensitive match for dentr..., Christoph Hellwig, (Tue May 13, 4:57 am)
Re: [PATCH 3/4] XFS: Return case-insensitive match for dentr..., Christoph Hellwig, (Thu May 15, 12:57 am)
Re: [PATCH 3/4] XFS: Return case-insensitive match for dentr..., Anton Altaparmakov, (Thu May 15, 9:43 am)
Re: [PATCH 3/4] XFS: Return case-insensitive match for dentr..., Christoph Hellwig, (Tue May 20, 2:23 pm)
Re: [PATCH 3/4] XFS: Return case-insensitive match for dentr..., Christoph Hellwig, (Thu May 15, 10:11 am)
Re: [PATCH 3/4] XFS: Return case-insensitive match for dentr..., Anton Altaparmakov, (Fri May 16, 3:25 am)
speck-geostationary