Re: [RFC PATCH] xfs_db: sanitize geometry on load

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/10/17 3:27 PM, Darrick J. Wong wrote:
>> What about sanitizing only the agcount, and saying something like:
>>
>> xfs_db: device fsfile AG count is insane.  Initializing only first $X
>>
>> (where $X is based on your heuristics)
> I feel like "Initializing" could be misinterpreted as formatting the
> disk.  How about:
> 
> xfs_db: device fsfile AG count is insane.  Reading only the first $X AGs.

Sure.  (I'm not sure what the implications are - it's more than just
"Oh, we didn't read it" right?  It'll have implications for use if
more AGs really exist?)

-Eric

> ?
> 
> --D
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux