On Tue, 2017-08-22 at 16:19 -0600, Vishal Verma wrote:
 :
> +
> +             /* The block had a media error, and needs to be
> cleared */
> +             if (btt_is_badblock(btt, arena, arena-
> >freelist[lane].block)) {
> +                     arena->freelist[lane].has_err = 1;
> +                     nd_region_release_lane(btt->nd_region,
> lane);
> +
> +                     arena_clear_freelist_error(arena, lane);
> +                     /* OK to acquire a different lane/free block
> */
> +                     goto retry;

I hit an infinite clear loop when DSM Clear Uncorrectable Error
function fails.  Haven't looked into the details, but I suspect this
unconditional retry is the cause of this.

Thanks,
-Toshi


_______________________________________________
Linux-nvdimm mailing list
Linux-nvdimm@lists.01.org
https://lists.01.org/mailman/listinfo/linux-nvdimm

Reply via email to