Re: [Qemu-devel] [PATCH 1/2] sheepdog: use per AIOCB dirty indexes for non overlapping requests

2015-09-02 Thread Vasiliy Tolstov
2015-09-01 6:03 GMT+03:00 Hitoshi Mitake : > n 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 u

[Qemu-devel] [PATCH 1/2] sheepdog: use per AIOCB dirty indexes for non overlapping requests

2015-08-31 Thread Hitoshi Mitake
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