commit | 80ceb057135ad77f513277f3bcd04b885501877a | [log] [tgz] |
---|---|---|
author | Namhyung Kim <namhyung@gmail.com> | Mon Jun 20 13:27:44 2011 +0200 |
committer | Jens Axboe <jaxboe@fusionio.com> | Mon Jun 20 13:27:44 2011 +0200 |
tree | 78e4c78028097ddcf8229133701d6659bb44fa23 | |
parent | 2c53b436a30867eb6b47dd7bab23ba638d1fb0d2 [diff] |
bsg: fix bsg_poll() to return POLLOUT properly POLLOUT should be returned only if bd->queued_cmds < bd->max_queue so that bsg_alloc_command() can proceed. Signed-off-by: Namhyung Kim <namhyung@gmail.com> Acked-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>