aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/dabusb
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2009-12-10 23:52:13 +0000
committerAlasdair G Kergon <agk@redhat.com>2009-12-10 23:52:13 +0000
commit9ca170a3c0cbb0d5251cef6f5a3300fa436ba8ec (patch)
tree78c023bd85bcbf01b5e81ae9586093aabe201312 /firmware/dabusb
parentc26655ca3ca7550740a63820ee981e5c7c797523 (diff)
downloadkernel_samsung_smdk4412-9ca170a3c0cbb0d5251cef6f5a3300fa436ba8ec.zip
kernel_samsung_smdk4412-9ca170a3c0cbb0d5251cef6f5a3300fa436ba8ec.tar.gz
kernel_samsung_smdk4412-9ca170a3c0cbb0d5251cef6f5a3300fa436ba8ec.tar.bz2
dm kcopyd: accept zero size jobs
dm-kcopyd: accept zero-size jobs This patch changes dm-kcopyd so that it accepts zero-size jobs and completes them immediatelly via its completion thread. It is needed for multisnapshots snapshot resizing. When we are writing to a chunk beyond origin end, no copying is done. To simplify the code, we submit an empty request to kcopyd and let kcopyd complete it. If we didn't submit a request to kcopyd and called the completion routine immediatelly, it would violate the principle that completion is called only from one thread and it would need additional locking. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'firmware/dabusb')
0 files changed, 0 insertions, 0 deletions