diff options
author | Kevin Wolf <kwolf@redhat.com> | 2009-06-16 11:31:28 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-06-16 15:18:36 -0500 |
commit | 6583e3c7e811b13530b7b69fffbe29a7a28cd1f7 (patch) | |
tree | 3984780c10aebda3251b754e7b8d8b4ebef39162 /hw/pflash_cfi01.c | |
parent | ed6ccf0f518aea8fab18815c8b18b2819524e4c2 (diff) |
l2_allocate: Write complete sectors
When modifying the L1 table, l2_allocate() needs to write complete sectors
instead of single entries. The L1 table is already in memory, reading it from
disk in the block layer to align the request is wasted performance.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pflash_cfi01.c')
0 files changed, 0 insertions, 0 deletions