summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorHitoshi Mitake2015-09-01 05:03:09 +0200
committerJeff Cody2015-09-25 16:25:19 +0200
commit498f21405a286f718a0767c791b7d2db19f4e5bd (patch)
treecf28cab8e1c5c7bc3f32c9ce30d796afa109f78e /docs
parentBackup: don't do copy-on-read in before_write_notifier (diff)
downloadqemu-498f21405a286f718a0767c791b7d2db19f4e5bd.tar.gz
qemu-498f21405a286f718a0767c791b7d2db19f4e5bd.tar.xz
qemu-498f21405a286f718a0767c791b7d2db19f4e5bd.zip
sheepdog: use per AIOCB dirty indexes for non overlapping requests
In the commit 96b14ff85acf, requests for overlapping areas are serialized. However, it cannot handle a case of non overlapping requests. In such a case, min_dirty_data_idx and max_dirty_data_idx can be overwritten by the requests and invalid inode update can happen e.g. a case like create(1, 2) and create(3, 4) are issued in parallel. This patch lets SheepdogAIOCB have dirty data indexes instead of BDRVSheepdogState for avoiding the above situation. This patch also does trivial renaming for better description: overwrapping -> overlapping Cc: Teruaki Ishizaki <ishizaki.teruaki@lab.ntt.co.jp> Cc: Vasiliy Tolstov <v.tolstov@selfip.ru> Cc: Jeff Cody <jcody@redhat.com> Signed-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp> Tested-by: Vasiliy Tolstov <v.tolstov@selfip.ru> Message-id: 1441076590-8015-2-git-send-email-mitake.hitoshi@lab.ntt.co.jp Signed-off-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions