Re: [PATCH RFC 1/1] xfsprogs: add inode inline data support

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

 



On 7/5/18 10:35 PM, Darrick J. Wong wrote:
> On Fri, Jul 06, 2018 at 11:12:30AM +0800, Shan Hai wrote:
>> Add a new mkfs command line option to enable the inode inline data
>> feature. The mkfs set a bit in the superblock to notify the kernel
>> that the data inlining is enabled, there is no extra options for
>> mount.
>>
>> Signed-off-by: Shan Hai <shan.hai@xxxxxxxxxx>
>> ---
>>  growfs/xfs_growfs.c | 14 +++++++++-----
>>  libxfs/xfs_format.h |  4 +++-
>>  libxfs/xfs_fs.h     |  1 +
>>  mkfs/xfs_mkfs.c     | 20 +++++++++++++++++---
>>  4 files changed, 30 insertions(+), 9 deletions(-)
>>
>> diff --git a/growfs/xfs_growfs.c b/growfs/xfs_growfs.c
>> index 366176b7..a370bf9d 100644
>> --- a/growfs/xfs_growfs.c
>> +++ b/growfs/xfs_growfs.c
>> @@ -60,13 +60,14 @@ report_info(
>>  	int		finobt_enabled,
>>  	int		spinodes,
>>  	int		rmapbt_enabled,
>> -	int		reflink_enabled)
>> +	int		reflink_enabled,
>> +	int		inlinedata_enabled)
>>  {
>>  	printf(_(
>>  	    "meta-data=%-22s isize=%-6u agcount=%u, agsize=%u blks\n"
>>  	    "         =%-22s sectsz=%-5u attr=%u, projid32bit=%u\n"
>>  	    "         =%-22s crc=%-8u finobt=%u spinodes=%u rmapbt=%u\n"
>> -	    "         =%-22s reflink=%u\n"
>> +	    "         =%-22s reflink=%u inline=%u\n"
> I coulda sworn we refactored this into a library function...

We did, and it's in 4.17.0 now.

On the next version please rebase this to whatever's in the xfsprogs for-next
branch at the time, that's where all the action is.  :)

Thanks,
-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