Re: [PATCH 0/5] xfsprogs-4.17: mkfs config file enhancements

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

 




On 6/14/18 12:59 PM, Darrick J. Wong wrote:
> On Thu, Jun 14, 2018 at 07:46:40PM +0200, Luis R. Rodriguez wrote:
>> On Wed, Jun 13, 2018 at 11:29:49PM -0700, Darrick J. Wong wrote:
>>> On Thu, Jun 14, 2018 at 03:08:44PM +1000, Dave Chinner wrote:
>>>> On Wed, Jun 13, 2018 at 11:23:09PM -0500, Eric Sandeen wrote:
>>>>> On 6/13/18 11:06 PM, Dave Chinner wrote:
>>>>>> With this change, we'll have code to maintain it to ensure that the
>>>>>> file gets updated properly, and it will probably take more time and
>>>>>> effort to validate that the generated file is correct (and debug if
>>>>>> it's not!) compared to the 30s it will take to hand edit the
>>>>>> template file to change or add a new default...
>>
>> If we had an xfstest to *test* that same generated file, this would not
>> be an issue and from what I gather we need quite a bit of work to get there.
>>
>> I'm working on a test for config stuff but that will just test for now
>> (and this reveals some future work needed):
>>
>> a) a set of config files we know should work and ensure they produce the
>>    same filesystem as if we had used CLI params. We can use xfs_db -c version
>>    against both filesystems and check that each differences. Since this would
>>    use the same xfsprogs for the results of a config based filesystem and
>>    the CLI based filesystem the diff would only generate if there really
>>    was a change between both runs, and you can use any xfsprogs version
>>    for it.
> 
> Hmm, just out of curiosity, are there any mkfs cli/config options that
> do /not/ show up in the output of mkfs and/or 'xfs_db -c info'?

Of the options that actually write [meta]data to disk, these don't show
up in the info output:

-m uuid=
-l agnum=
-L <label>

The rest do in some form, though as you know several mkfs options all specify
the same metadata detail in different ways, so i.e. su/sunit distill down to
a single xfs_info field.

-Eric
--
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