]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
storage: Add readflags for backend error processing
authorJohn Ferlan <jferlan@redhat.com>
Tue, 24 Nov 2015 15:08:29 +0000 (10:08 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 9 Dec 2015 21:31:14 +0000 (16:31 -0500)
commit22346003dcd3d3f6cbf16e197af94e0a6a074ac3
tree2a28efce158dab5258000997da1374c1782b1802
parent8df2f1d874bc0b1ac51b58025dc7edee9d9fea0e
storage: Add readflags for backend error processing

Similar to the openflags which allow VIR_STORAGE_VOL_OPEN_NOERROR to be
passed to avoid open errors, add a 'readflags' variable so that in the
future read failures could also be ignored.
src/storage/storage_backend.c
src/storage/storage_backend.h
src/storage/storage_backend_disk.c
src/storage/storage_backend_fs.c
src/storage/storage_backend_logical.c
src/storage/storage_backend_mpath.c
src/storage/storage_backend_scsi.c