Revision c374f127e4ff17a318b9ae95a5bf65f370c2d0b1 authored by Tejun Heo <htejun@gmail.com> on 16 June 2005, 10:57:31 UTC, committed by Jens Axboe <axboe@suse.de> on 16 June 2005, 10:57:31 UTC
__elv_add_request(). rq.count[READ] + rq.count[WRITE] can increase more than one if another thread has allocated a request after the current request is allocated or in_flight could have changed resulting in larger-than-one change of nrq, thus breaking the threshold mechanism. Signed-off-by: Jens Axboe <axboe@suse.de> Signed-off-by: Tejun Heo <htejun@gmail.com>
1 parent 9c56187
File | Mode | Size |
---|---|---|
Documentation | ||
arch | ||
crypto | ||
drivers | ||
fs | ||
include | ||
init | ||
ipc | ||
kernel | ||
lib | ||
mm | ||
net | ||
scripts | ||
security | ||
sound | ||
usr | ||
COPYING | -rw-r--r-- | 18.3 KB |
CREDITS | -rw-r--r-- | 87.0 KB |
MAINTAINERS | -rw-r--r-- | 56.0 KB |
Makefile | -rw-r--r-- | 43.2 KB |
README | -rw-r--r-- | 13.6 KB |
REPORTING-BUGS | -rw-r--r-- | 2.9 KB |
Computing file changes ...