summaryrefslogtreecommitdiffstats
path: root/drivers/md/linear.c
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2008-11-14 00:39:10 +0100
committerAlasdair G Kergon <agk@redhat.com>2008-11-14 00:39:10 +0100
commitd221d2e77696e70e94b13989ea15db2ba5b34f8e (patch)
tree82afcee59db83104d31848e2304eb51baeee3aa4 /drivers/md/linear.c
parentdm mpath: warn if args ignored (diff)
downloadlinux-d221d2e77696e70e94b13989ea15db2ba5b34f8e.tar.xz
linux-d221d2e77696e70e94b13989ea15db2ba5b34f8e.zip
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>
Diffstat (limited to 'drivers/md/linear.c')
0 files changed, 0 insertions, 0 deletions