commit | 6583e3c7e811b13530b7b69fffbe29a7a28cd1f7 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Tue Jun 16 11:31:28 2009 +0200 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Tue Jun 16 15:18:36 2009 -0500 |
tree | 3984780c10aebda3251b754e7b8d8b4ebef39162 | |
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>