On Thu, Mar 14, 2013 at 02:38:29PM -0400, Chris Mason wrote: > On Mon, Mar 11, 2013 at 07:44:04PM -0600, Liu Bo wrote: > > On Mon, Mar 11, 2013 at 06:26:40PM +0100, David Sterba wrote: > > > On Mon, Mar 11, 2013 at 05:20:58PM +0800, Liu Bo wrote: > > > > Using spinning case instead of blocking will result in better > > > > concurrency > > > > overall. > > > > > > Do you have numbers to support that? > > > > > > > Sorry, I don't, just judging from what leave_spinning is desiged for and the > > similar usecases, like insert_reserved_file_extents(), which is also > > involved in > > endio write worker. > > Leaving the path spinning is always faster. As long as you're sure the > code inside doesn't schedule it is the right choice. >
Yeah, I've taken care of schedule thing :) thanks, liubo > -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html