dm: refactor deferred bio_list processing
authorMilan Broz <mbroz@redhat.com>
Fri, 8 Feb 2008 02:10:22 +0000 (02:10 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 8 Feb 2008 02:10:22 +0000 (02:10 +0000)
commit6d6f10df890df8be69edd4db32dc8ce09f311bb8
tree3845f7fdd940cdd4ee9e35cc40aeeab766b21b03
parent6ed7ade89657e71da3afa7cb13ad25570a95dd9d
dm: refactor deferred bio_list processing

Refactor deferred bio_list processing.

 - use separate _merge_pushback_list function
 - move deferred bio list pick up to flush function
 - use bio_list_pop instead of bio_list_get
 - simplify noflush flag use

No real functional change in this patch.

Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm.c