]> git.karo-electronics.de Git - mv-sheeva.git/commit
dm log userspace: split flush queue
authorJonathan Brassow <jbrassow@redhat.com>
Thu, 13 Jan 2011 19:59:50 +0000 (19:59 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Thu, 13 Jan 2011 19:59:50 +0000 (19:59 +0000)
commit909cc4fb48dd9870f6ebe4bd32cfbe37c102df62
treec88ef5cc536d49871a6b176d2742048c659bbdc8
parent8d35d3e37eed884ba15229a146df846f399909b4
dm log userspace: split flush queue

Split the 'flush_list', which contained a mix of both 'mark' and 'clear'
requests, into two distinct lists ('mark_list' and 'clear_list').

The device mapper log implementations (used by various DM targets) are
allowed to cache 'mark' and 'clear' requests until a 'flush' is
received.  Until now, these cached requests were kept in the same list.
They will now be put into distinct lists to facilitate group processing
of these requests (in the next patch).

Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-log-userspace-base.c