[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Effect in guest of a hard read error from the host's storage ?
- To: Juergen Gross <jgross@xxxxxxxx>
- From: Anthony PERARD <anthony.perard@xxxxxxxxxx>
- Date: Fri, 8 Apr 2022 16:49:18 +0100
- Authentication-results: esa1.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
- Cc: George Dunlap <dunlapg@xxxxxxxxx>, Simon Hobson <simon@xxxxxxxxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, xen-users <xen-users@xxxxxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>
- Delivery-date: Fri, 08 Apr 2022 15:50:26 +0000
- Ironport-data: A9a23:GiOOYKt8+lTy1Mfpm2qKPa0iJefnVEZeMUV32f8akzHdYApBsoF/q tZmKWyCPvbeZWryeN9zYNm0ox4F78TVxtc3GwNlpSkzH3gb+JbJXdiXEBz9bniYRiHhoOOLz Cm8hv3odp1coqr0/0/1WlTZhSAgk/nOHNIQMcacUsxLbVYMpBwJ1FQyw4bVvqYy2YLjW1/V6 YuoyyHiEATNNwBcYzp8B52r8HuDjNyq0N/PlgVjDRzjlAa2e0g9VPrzF4noR5fLatA88tqBb /TC1NmEElbxpH/BPD8HfoHTKSXmSpaKVeSHZ+E/t6KK2nCurQRquko32WZ1he66RFxlkvgoo Oihu6BcRi87YaPdpONGDCBSOB5HF5NXpoXFLHKw5Jn7I03uKxMAwt1rBUAye4YZ5vx2ESdF8 vlwxDIlN07ZwbjsmfTiF7cq1p9LwMrDZevzvllpyy3ZCvA3B4jOWazQ6fdT3Ssqh9AIFvHbD yYcQWQ/M0ScPUYSUrsRIK4Us/mzhkjfSh4ClneH9YBr82bo3SUkhdABN/KKI4fXFK25hH2wv WPD+GLRHhEXNNuV0j2D6TSnganSnkvTSI8UUaCj++RxqFmS3XAITg0bUx28u/bRokyxQdVEM GQP5zEj66M18SSDQsT7WxSgr1aZux8XW5xdH/BS1e2W4vOKuUDDXDFCF2MfLox93CMredA0/ k3WkcLVAmcwibe+dku3yKbKlzG/MydAeAfuehQ4ZQcC5tDipqQ6gRTOUstvHcaJszHlJd3j6 2vU9XZj3t3/meZOjvzmpg6f31pAs7CTFmYIChPrsnVJB++TTKqsfMSW5FfS9p6sx67JHwDa7 BDodyVzhd3i7K1hdgTQGI3h/5nzvp5p1QEwZ3Y1QvHNEBz3phaekXh4um0WGauQGp9slcXVS EHSoxhNw5RYIWGna6R6C6roVZh7l/i9SIS6CamNBjarXnSXXFXalM2JTRTOt10BbWB2yf1vU XtlWZjE4Ykm5VRPk2PtGrZ1PU4DzSEi32LDLa0XPDz8uYdykEW9EO9fWHPXN7hRxPrd/G39r oYOX+PXmk43eLCvPUHqHXs7cAliwY4TXsut9aS6t4erf2JbJY3WI6OJmuN+JtY9xsy4VI7gp xmAZ6OR83Kn7VWvFOlAQisLhG/HNXqnkU8GAA==
- Ironport-hdrordr: A9a23:NIXs26gxoDCo5sQUVjoOcqF2unBQXuYji2hC6mlwRA09TyX+rb HLoB17726QtN9/YgBCpTntAsi9qBDnm6Kdg7NhWotKNTOO0AHEEGgL1/qF/9SKIVydygcy78 ddmoFFeaTN5QcQt63HCXODfOrIauP3iJxA/t2z80tQ
- List-id: Xen user discussion <xen-users.lists.xenproject.org>
On Thu, Apr 07, 2022 at 12:20:27PM +0200, Juergen Gross wrote:
> On 07.04.22 12:10, George Dunlap wrote:
> >
> >
> > On Sat, Apr 2, 2022 at 8:28 PM Simon Hobson <simon@xxxxxxxxxxxxxxxx
> > <mailto:simon@xxxxxxxxxxxxxxxx>> wrote:
> >
> > Not having experienced it on any of my Xen systems I’ve managed in the
> > past,
> > I just wanted to check what happens when the host’s storage encounters
> > an
> > unrecoverable read error ?
> > My expectation would be that the error would be passed up the chain
> > (host’s
> > OS, virtual disk emulator, guest OS disk driver, guest OS filesystem,
> > guest
> > OS program), appear as an unrecoverable error to the guest, and hence
> > passed
> > up to the program attempting to read the file - so really nothing
> > different
> > to the same error on bare metal.
> >
> > Has anyone encountered this, and can confirm if that’s how Xen+Linux
> > handles
> > it ?
> >
> >
> > Juergen / Roger / Anthony -- any idea what would happen with either
> > blkback or qdisk on a hard read error? (Or blktap, for that matter?)
>
> Any I/O error for a request issued via the PV block device protocol will be
> handed back to the frontend via a generic error "BLKIF_RSP_ERROR", which is
> handed back to the block layer as I/O error on the guest side.
It seems to be the same when the backend is "qdisk", QEMU sets the
request status to BLKIF_RSP_ERROR on I/O error.
--
Anthony PERARD
|