
8 Mar
2013
8 Mar
'13
4:06 p.m.
On Thu, Mar 07, 2013 at 09:25:44AM -0500, Tom Rini wrote:
When working on RAW partitions, it's possible that the whole area is larger than DDR. So what we need to do is make sure that the length we are given is aligned with the LBA block size, then pass that length in as our count of LBA blocks to operate on. In doing this, we no longer need to modify *len on read operations.
Cc: Lukasz Majewski l.majewski@samsung.com Signed-off-by: Tom Rini trini@ti.com
As I dig at and fix the other problem (which Michael points out, > 4MiB files crash), this patch is more for comment / confirmation that this change is fine on trats as well. These same concepts are part of my patch now that updates Pantelis' patch, without breaking file writes.
--
Tom