Linux Test Project
 help / color / mirror / Atom feed
From: "xuyang2018.jy@fujitsu.com" <xuyang2018.jy@fujitsu.com>
To: Petr Vorel <pvorel@suse.cz>, "ltp@lists.linux.it" <ltp@lists.linux.it>
Subject: Re: [LTP] [PATCH 1/1] statx04: Remove kernel comments in docparse
Date: Fri, 19 Aug 2022 10:02:30 +0000	[thread overview]
Message-ID: <950bbc2f-1af9-581b-c7a2-e6d39fc276ec@fujitsu.com> (raw)
In-Reply-To: <20220819090704.17219-1-pvorel@suse.cz>


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

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  reply	other threads:[~2022-08-19 10:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-19  9:07 [LTP] [PATCH 1/1] statx04: Remove kernel comments in docparse Petr Vorel
2022-08-19 10:02 ` xuyang2018.jy [this message]
2022-08-19 10:10   ` xuyang2018.jy
2022-08-19 11:22     ` Petr Vorel
2022-08-19 12:42       ` Li Wang
2022-08-19 12:55     ` Li Wang
2022-08-19 14:10       ` xuyang2018.jy
2022-08-19 14:32         ` Petr Vorel
2022-08-20  2:03           ` Li Wang
2022-08-22 10:17             ` Petr Vorel
2022-08-19 12:36 ` Li Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=950bbc2f-1af9-581b-c7a2-e6d39fc276ec@fujitsu.com \
    --to=xuyang2018.jy@fujitsu.com \
    --cc=ltp@lists.linux.it \
    --cc=pvorel@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox