commit | c85191e5c9e14d65cc4281ef3b31f480227aa6dd | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Mon Jan 14 16:26:53 2013 +0100 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Tue Jan 15 10:03:47 2013 +0100 |
tree | c9089e4c0827f17b010e5603b660472d3911cf65 | |
parent | 3d4fa43e648f3b169e7ab5dd4e21312e510805d7 [diff] |
raw-posix: remember whether discard failed Avoid sending system calls repeatedly if they shall fail. This does not apply to XFS: if the filesystem-specific ioctl fails, something weird is happening. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>