Re: [Qemu-devel] [PATCH v4 03/14] nand: Switch to byte-based block access

2016-05-03 Thread Kevin Wolf
Am 02.05.2016 um 23:09 hat Eric Blake geschrieben: > On 05/02/2016 09:35 AM, Kevin Wolf wrote: > > Am 29.04.2016 um 22:08 hat Eric Blake geschrieben: > >> Sector-based blk_write() should die; switch to byte-based > >> blk_pwrite() instead. Likewise for blk_read(). > >> > >> This file is doing some

Re: [Qemu-devel] [PATCH v4 03/14] nand: Switch to byte-based block access

2016-05-02 Thread Eric Blake
On 05/02/2016 09:35 AM, Kevin Wolf wrote: > Am 29.04.2016 um 22:08 hat Eric Blake geschrieben: >> Sector-based blk_write() should die; switch to byte-based >> blk_pwrite() instead. Likewise for blk_read(). >> >> This file is doing some complex computations to map various >> flash page sizes (256,

Re: [Qemu-devel] [PATCH v4 03/14] nand: Switch to byte-based block access

2016-05-02 Thread Kevin Wolf
Am 29.04.2016 um 22:08 hat Eric Blake geschrieben: > Sector-based blk_write() should die; switch to byte-based > blk_pwrite() instead. Likewise for blk_read(). > > This file is doing some complex computations to map various > flash page sizes (256, 512, and 2048) atop generic uses of > 512-byte s

[Qemu-devel] [PATCH v4 03/14] nand: Switch to byte-based block access

2016-04-29 Thread Eric Blake
Sector-based blk_write() should die; switch to byte-based blk_pwrite() instead. Likewise for blk_read(). This file is doing some complex computations to map various flash page sizes (256, 512, and 2048) atop generic uses of 512-byte sector operations. Perhaps someone will want to tidy up the fil