diff options
author | Tejun Heo <tj@kernel.org> | 2009-05-08 11:54:00 +0900 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-05-11 09:52:14 +0200 |
commit | 9a8d23d8855e554fc5887f14cb008b55c4300ccc (patch) | |
tree | a754cec4066df52f94161784262edff0de0fb312 /lib/dec_and_lock.c | |
parent | 8f6205cd572fece673da0255d74843680f67f879 (diff) |
mg_disk: fix queue hang / infinite retry on !fs requests
Both request functions in mg_disk simply return when they encounter a
!fs request, which means the request will never be cleared from the
queue causing queue hang and indefinite retry of the request. Fix it.
While at it, flatten condition checks and add unlikely to !fs tests.
[ Impact: fix possible queue hang / infinite retry of !fs requests ]
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: unsik Kim <donari75@gmail.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'lib/dec_and_lock.c')
0 files changed, 0 insertions, 0 deletions