commit | 1fe34b5282461c0019c5d507d0acae00280c1c58 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Mon Oct 27 10:53:52 2014 -0600 |
committer | Mohamad Ayyash <mkayyash@google.com> | Fri Mar 06 17:57:26 2015 -0800 |
tree | 9f4df23c72ff0bd19dc2e1fa6f824db7c125b997 | |
parent | 4ffeb0addbb090160f2d4eb1e98a1f184ed9ac66 [diff] |
rbd: various fixes and cleanups - Don't use usleep() when no completions are available, call into rbd to wait for one. - Check for errors on reads/writes/syncs instead of just assuming that everything went fine. - Fix leak of completions when read/write/sync fails. - Style cleanups, and remove unnecessary casts. Signed-off-by: Jens Axboe <axboe@fb.com>