Commits
Kirill Tkhai authored and Konstantin Khorenko committed aecc1caa113
ploop: kaio: Close race between truncate thread and grow .submit_alloc may queue prealloc_preq and set io->prealloc_size. Despite .alloc is called under quiesce state, previously submitted prealloc_preq may be handled by truncate thread. After quiesce state is released, ploop thread updates io->prealloced_size, but inode size is less, since kaio_alloc_sync() truncates image under them. Fix that. https://jira.sw.ru/browse/PSBM-101533 Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>