I was a tad too quick with that reply. In hindsight, I'm not sure if the
procedure in the Badblocks HOWTO that you linked to can or cannot be
done with XFS. Maybe there's something that can be conjured up using
xfs_db(8). We can wait for the XFS experts to chime in.