Mikulas Patocka
d221d2e776
dm: move pending queue wake_up end_io_acct
...
This doesn't fix any bug, just moves wake_up immediately after decrementing
md->pending, for better code readability.
It must be clear to anyone manipulating md->pending to wake up
the queue if md->pending reaches zero, so move the wakeup as close to
the decrementing as possible.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com >
Signed-off-by: Alasdair G Kergon <agk@redhat.com >
2008-11-13 23:39:10 +00:00
..
2008-02-06 10:41:18 -08:00
2006-01-01 22:21:50 +01:00
2008-09-01 12:48:13 +10:00
2007-10-20 02:01:11 +01:00
2005-04-16 15:20:36 -07:00
2008-10-21 17:45:03 +01:00
2008-10-21 17:44:59 +01:00
2008-10-21 17:44:59 +01:00
2008-10-21 17:44:59 +01:00
2008-10-21 07:47:06 -04:00
2008-10-21 17:44:59 +01:00
2008-10-23 10:23:07 -07:00
2008-10-21 17:44:59 +01:00
2008-11-13 23:39:06 +00:00
2008-10-10 13:36:58 +01:00
2008-10-21 17:44:59 +01:00
2006-12-08 08:28:40 -08:00
2008-11-13 23:38:52 +00:00
2008-10-21 17:45:06 +01:00
2008-10-21 17:44:59 +01:00
2008-10-30 13:33:16 +00:00
2008-10-30 13:33:16 +00:00
2008-11-13 23:38:56 +00:00
2008-10-23 10:23:07 -07:00
2007-10-20 02:01:07 +01:00
2008-04-28 08:58:42 -07:00
2007-10-20 02:01:26 +01:00
2008-10-21 17:44:59 +01:00
2008-11-13 23:39:10 +00:00
2008-10-21 17:44:57 +01:00
2008-10-16 14:16:53 +11:00
2008-10-12 08:25:14 -07:00
2008-11-06 19:41:24 +11:00
2008-10-21 17:45:06 +01:00
2008-11-06 17:28:01 +11:00
2008-02-06 10:41:18 -08:00
2008-10-17 09:00:23 -07:00
2008-10-13 11:55:12 +11:00
2008-10-15 21:57:05 +11:00
2008-10-13 11:55:12 +11:00
2008-10-13 11:55:12 +11:00
2008-04-28 08:58:42 -07:00
2005-09-17 11:49:58 -07:00
2005-04-16 15:20:36 -07:00
2007-10-29 07:41:32 -07:00
2005-04-16 15:20:36 -07:00
2007-10-29 07:41:32 -07:00
2007-10-29 07:41:32 -07:00
2007-10-29 07:41:32 -07:00
2008-11-06 17:28:20 +11:00
2005-04-16 15:20:36 -07:00