Re: [U-Boot] [PATCH 1/3] drivers: block: add block device cache

2016-03-28 Thread Eric Nelson
Thanks Tom, On 03/28/2016 07:16 AM, Tom Rini wrote: > On Sun, Mar 27, 2016 at 12:00:13PM -0700, Eric Nelson wrote: > >> +++ b/drivers/block/blkcache.c > [snip] >> +static int trace; > > I see where you can toggle this at run-time. But do we really think > that this will be useful outside of deb

Re: [U-Boot] [PATCH 1/3] drivers: block: add block device cache

2016-03-28 Thread Tom Rini
On Sun, Mar 27, 2016 at 12:00:13PM -0700, Eric Nelson wrote: > +++ b/drivers/block/blkcache.c [snip] > +static int trace; I see where you can toggle this at run-time. But do we really think that this will be useful outside of debug? My first reaction is that we should move the trace stuff into

[U-Boot] [PATCH 1/3] drivers: block: add block device cache

2016-03-27 Thread Eric Nelson
Add a block device cache to speed up repeated reads of block devices by various filesystems. This small amount of cache can dramatically speed up filesystem operations by skipping repeated reads of common areas of a block device (typically directory structures). This has shown to have some benef