Re: [U-Boot] [RFC PATCH 2/2] mmc: add support for block device cache

2016-04-10 Thread Eric Nelson
Hi Simon, On 04/09/2016 10:55 AM, Simon Glass wrote: > On 20 March 2016 at 16:54, Eric Nelson wrote: >> On 03/20/2016 03:13 PM, Tom Rini wrote: >>> On Sun, Mar 20, 2016 at 12:35:53PM -0700, Eric Nelson wrote: On 03/17/2016 02:23 PM, Stephen Warren wrote: > On 03/16/2016 03:40 PM, Eric Ne

Re: [U-Boot] [RFC PATCH 2/2] mmc: add support for block device cache

2016-04-09 Thread Simon Glass
Hi Eric, On 20 March 2016 at 16:54, Eric Nelson wrote: > Hi Tom, > > On 03/20/2016 03:13 PM, Tom Rini wrote: >> On Sun, Mar 20, 2016 at 12:35:53PM -0700, Eric Nelson wrote: >>> Hi Stephen, >>> >>> On 03/17/2016 02:23 PM, Stephen Warren wrote: On 03/16/2016 03:40 PM, Eric Nelson wrote: >

Re: [U-Boot] [RFC PATCH 2/2] mmc: add support for block device cache

2016-03-25 Thread Eric Nelson
Hi all, On 03/21/2016 11:31 AM, Eric Nelson wrote: > On 03/20/2016 03:54 PM, Eric Nelson wrote: >> On 03/20/2016 03:13 PM, Tom Rini wrote: >>> On Sun, Mar 20, 2016 at 12:35:53PM -0700, Eric Nelson wrote: On 03/17/2016 02:23 PM, Stephen Warren wrote: > On 03/16/2016 03:40 PM, Eric Nelson w

Re: [U-Boot] [RFC PATCH 2/2] mmc: add support for block device cache

2016-03-21 Thread Eric Nelson
Hi Tom, On 03/20/2016 03:54 PM, Eric Nelson wrote: > On 03/20/2016 03:13 PM, Tom Rini wrote: >> On Sun, Mar 20, 2016 at 12:35:53PM -0700, Eric Nelson wrote: >>> On 03/17/2016 02:23 PM, Stephen Warren wrote: On 03/16/2016 03:40 PM, Eric Nelson wrote: > Signed-off-by: Eric Nelson

Re: [U-Boot] [RFC PATCH 2/2] mmc: add support for block device cache

2016-03-21 Thread Eric Nelson
Hi Stephen, On 03/20/2016 12:35 PM, Eric Nelson wrote: > On 03/17/2016 02:23 PM, Stephen Warren wrote: >> On 03/16/2016 03:40 PM, Eric Nelson wrote: ... >> Do you have any stats on how many operations this saves for typical FS >> operations such as: >> >> - Partition table type identification (wit

Re: [U-Boot] [RFC PATCH 2/2] mmc: add support for block device cache

2016-03-20 Thread Eric Nelson
Hi Tom, On 03/20/2016 03:13 PM, Tom Rini wrote: > On Sun, Mar 20, 2016 at 12:35:53PM -0700, Eric Nelson wrote: >> Hi Stephen, >> >> On 03/17/2016 02:23 PM, Stephen Warren wrote: >>> On 03/16/2016 03:40 PM, Eric Nelson wrote: Signed-off-by: Eric Nelson >>> >>> Patch description. >>> ---

Re: [U-Boot] [RFC PATCH 2/2] mmc: add support for block device cache

2016-03-20 Thread Tom Rini
On Sun, Mar 20, 2016 at 12:35:53PM -0700, Eric Nelson wrote: > Hi Stephen, > > On 03/17/2016 02:23 PM, Stephen Warren wrote: > > On 03/16/2016 03:40 PM, Eric Nelson wrote: > >> Signed-off-by: Eric Nelson > > > > Patch description. > > > >> --- > >> drivers/mmc/mmc.c | 10 +- > >>

Re: [U-Boot] [RFC PATCH 2/2] mmc: add support for block device cache

2016-03-20 Thread Eric Nelson
Hi Stephen, On 03/17/2016 02:23 PM, Stephen Warren wrote: > On 03/16/2016 03:40 PM, Eric Nelson wrote: >> Signed-off-by: Eric Nelson > > Patch description. > >> --- >> drivers/mmc/mmc.c | 10 +- >> drivers/mmc/mmc_write.c | 7 +++ > > Presumably it makes sense for the cach

[U-Boot] [RFC PATCH 2/2] mmc: add support for block device cache

2016-03-19 Thread Eric Nelson
Signed-off-by: Eric Nelson --- drivers/mmc/mmc.c | 10 +- drivers/mmc/mmc_write.c | 7 +++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 8b2e606..956f4e1 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -6,7

Re: [U-Boot] [RFC PATCH 2/2] mmc: add support for block device cache

2016-03-19 Thread Stephen Warren
On 03/16/2016 03:40 PM, Eric Nelson wrote: Signed-off-by: Eric Nelson Patch description. --- drivers/mmc/mmc.c | 10 +- drivers/mmc/mmc_write.c | 7 +++ Presumably it makes sense for the cache to work for IDE, SATA, USB, SCSI, ... too. I wonder if it's possible to put