[LTP] [PATCH 1/1] statx04: Remove kernel comments in docparse

xuyang2018.jy@fujitsu.com xuyang2018.jy@fujitsu.com
Fri Aug 19 12:10:17 CEST 2022


Hi Petr

On my owner metadata.html, I don't see  commit title(I guess network 
problem)


Tag	Info
linux-git  93bc420ed41d

linux-git 99652ea56a41

linux-git  04a87e347282

linux-git 5f955f26f3d4

linux-git e408e695f5f1

So for me, If remove kernel commit in description, then I only see
useless commit id number, unless I go to search them in kernel org.

I prefer to keep these kernel commit comment.

Best Regards
Yang Xu

> 
> Hi Petr
> 
> Oh, I see commit title in metadata that I don't see it before.
> 
> Tag	   Info
> linux-git 93bc420ed41d ("ext2: support statx syscall")
> 
> linux-git 99652ea56a41 ("ext4: Add statx support")
> 
> linux-git 04a87e347282 ("Btrfs: add statx support")
> 
> linux-git 5f955f26f3d4 ("xfs: report crtime and attribute flags to statx")
> 
> 
> But user that doesn't use metadata(miss this usage or miss dependent
> package ie rubygem-asciidoctor), then they only see some numbers in tag
> but know nothing.
> 
> IMO, it is not clear like min_kever.
> 
> Best Regards
> Yang Xu
>> They are defined in .tags, having in docparse results into poor
>> formating in metadata.{html,pdf}.
>>
>> Signed-off-by: Petr Vorel <pvorel@suse.cz>
>> ---
>> Hi Li,
>>
>> I've done cleanup like this in the past, but sending a patch just to
>> make consensus about it. If we prefer to have git commits like this in
>> the code (i.e. if being in .tags is not enough), they should be in
>> normal comments /* ... */ so that they aren't in docparse.
>>
>> IMHO docparse can mention some commit if wanted to add some description,
>> but just as 5f955f26f3d4 or 5f955f26f3d4 ("xfs: report crtime and
>> attribute flags to statx") if the commit subject is a description
>> itself.
>>
>> http://linux-test-project.github.io/metadata/metadata.stable.html#statx04
>>
>> Kind regards,
>> Petr
>>
>>    testcases/kernel/syscalls/statx/statx04.c | 35 +----------------------
>>    1 file changed, 1 insertion(+), 34 deletions(-)
>>
>> diff --git a/testcases/kernel/syscalls/statx/statx04.c b/testcases/kernel/syscalls/statx/statx04.c
>> index 98f9a6315..6c562b3d7 100644
>> --- a/testcases/kernel/syscalls/statx/statx04.c
>> +++ b/testcases/kernel/syscalls/statx/statx04.c
>> @@ -14,41 +14,8 @@
>>     * - STATX_ATTR_NODUMP: File is not a candidate for backup when a backup
>>     *                        program such as dump(8) is run.
>>     *
>> - * xfs filesystem doesn't support STATX_ATTR_COMPRESSED flag, so we only test
>> + * XFS filesystem doesn't support STATX_ATTR_COMPRESSED flag, so we only test
>>     * three other flags.
>> - *
>> - * ext2, ext4, btrfs, xfs and tmpfs support statx syscall since the following commit
>> - *
>> - *  commit 93bc420ed41df63a18ae794101f7cbf45226a6ef
>> - *  Author: yangerkun <yangerkun@huawei.com>
>> - *  Date:   Mon Feb 18 09:07:02 2019 +0800
>> - *
>> - *  ext2: support statx syscall
>> - *
>> - *  commit 99652ea56a4186bc5bf8a3721c5353f41b35ebcb
>> - *  Author: David Howells <dhowells@redhat.com>
>> - *  Date:   Fri Mar 31 18:31:56 2017 +0100
>> - *
>> - *  ext4: Add statx support
>> - *
>> - *  commit 04a87e3472828f769a93655d7c64a27573bdbc2c
>> - *  Author: Yonghong Song <yhs@fb.com>
>> - *  Date:   Fri May 12 15:07:43 2017 -0700
>> - *
>> - *  Btrfs: add statx support
>> - *
>> - *  commit 5f955f26f3d42d04aba65590a32eb70eedb7f37d
>> - *  Author: Darrick J. Wong <darrick.wong@oracle.com>
>> - *  Date:   Fri Mar 31 18:32:03 2017 +0100
>> - *
>> - *  xfs: report crtime and attribute flags to statx
>> - *
>> - *  commit e408e695f5f1f60d784913afc45ff2c387a5aeb8
>> - *  Author: Theodore Ts'o <tytso@mit.edu>
>> - *  Date:   Thu Jul 14 21:59:12 2022 -0400
>> - *
>> - *  mm/shmem: support FS_IOC_[SG]ETFLAGS in tmpfs
>> - *
>>     */
>>    
>>    #define _GNU_SOURCE
> 


More information about the ltp mailing list