commit | d0265de7c358d71a494dcd1ee28206b32754bb0f | [log] [tgz] |
---|---|---|
author | Josh Durgin <josh.durgin@inktank.com> | Mon Apr 07 16:54:10 2014 -0700 |
committer | Ilya Dryomov <idryomov@redhat.com> | Tue Oct 14 21:03:33 2014 +0400 |
tree | 47ddd34a1db3d1f6adeea09624733f1301ab10a8 | |
parent | bef95455a44e2533fcea376740bb1a5cbd71269f [diff] |
rbd: tolerate -ENOENT for discard operations Discard may try to delete an object from a non-layered image that does not exist. If this occurs, the image already has no data in that range, so change the result to success. Signed-off-by: Josh Durgin <josh.durgin@inktank.com>