On 11/15/22 13:28, Mike Christie wrote: > If a PR operation fails we can return a device specific error which is > impossible to handle in some cases because we could have a mix of devices > when DM is used, or future users like lio only know it's interacting with long lines above ? just check > a block device so it doesn't know the type. > > This patch adds a new pr_status enum so drivers can convert errors to a > common type which can be handled by the caller. > > Signed-off-by: Mike Christie <michael.christie@xxxxxxxxxx> > Reviewed-by: Christoph Hellwig <hch@xxxxxx> > --- Looks good. Reviewed-by: Chaitanya Kulkarni <kch@xxxxxxxxxx> -ck