]> git.baikalelectronics.ru Git - kernel.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)
commit4ef9c6587d20b9ee3ed2fbe77a64a6abe70b0b31
treec88ef5cc536d49871a6b176d2742048c659bbdc8
parent3a097593dd0e5e9ff0f2bfc8aeee727bcdeaa9fe
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