public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: "Yang Xu (Fujitsu)" <xuyang2018.jy@fujitsu.com>
Cc: "ltp@lists.linux.it" <ltp@lists.linux.it>
Subject: Re: [LTP] [PATCH v5 6/7] syscalls/swapon03: Simply this case
Date: Wed, 28 Feb 2024 14:27:45 +0100	[thread overview]
Message-ID: <20240228132745.GA1602633@pevik> (raw)
In-Reply-To: <965fe6c7-118f-4c76-b7f8-a83308cdd54c@fujitsu.com>

Hi Yang Xu,

> Hi Petr

> > Hi Yang Xu,

> >> By moving swapfile create stage from verify_swaopon and
> >> test EPERM error more accurate. Also use glibc wrapper by
> >> using swapon/swapoff instead of call syscall number directly
> >> because glibc/musl/binoic also support them since long time ago.
> > s/binoic/bionic/

> > Reviewed-by: Petr Vorel <pvorel@suse.cz>

> Thanks for your nice review. Sorry, when your review v4 patch, I don't 
> solve all comment in v5. So I did it in my own ltp fork branch named as 
> v5_max_swapfiles[1](such as swapfiles => swap file, snprint return 
> value, else branch....).

> ps: Only the 6th patch was modified, other patches aren't modified. If 
> you see no problem, I plan to merge this patchset today.

[2] looks good to me, please merge. Very nit (feel free to ignore):
snprintf(cmd_buffer, ...) is too long, renaming cmd_buffer just to buf would
shorten whole line.

Kind regards,
Petr

> [1]https://github.com/xuyang0410/ltp/commits/v5_max_swapfiles/

[2] https://github.com/xuyang0410/ltp/commit/9e83b1fb1d8f8631122c70a336aacd28f94d8343

> Best Regards
> Yang Xu

> > Kind regards,
> > Petr

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

  reply	other threads:[~2024-02-28 13:28 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-26 13:53 [LTP] [PATCH v5 1/7] libltpswap: Add tst_max_swapfiles API Yang Xu via ltp
2024-02-26 13:53 ` [LTP] [PATCH v5 2/7] libltpswap: alter tst_count_swaps API Yang Xu via ltp
2024-02-26 13:53 ` [LTP] [PATCH v5 3/7] syscalls/swapon03: use tst_max_swapfiles() and GET_USED_SWAPFILES() API Yang Xu via ltp
2024-02-26 13:53 ` [LTP] [PATCH v5 4/7] swaponoff.h: Remove useless header Yang Xu via ltp
2024-02-26 13:53 ` [LTP] [PATCH v5 5/7] swapon/Makefile: Remove useless section for MAX_SWAPFILES Yang Xu via ltp
2024-02-28  7:32   ` Petr Vorel
2024-02-26 13:53 ` [LTP] [PATCH v5 6/7] syscalls/swapon03: Simply this case Yang Xu via ltp
2024-02-28  7:24   ` Petr Vorel
2024-02-28  8:15     ` Yang Xu (Fujitsu) via ltp
2024-02-28 13:27       ` Petr Vorel [this message]
2024-02-26 13:53 ` [LTP] [PATCH v5 7/7] Add fallback for RHEL9 Yang Xu via ltp
2024-02-27  9:13 ` [LTP] [PATCH v5 1/7] libltpswap: Add tst_max_swapfiles API Li Wang
2024-02-28 10:32   ` Yang Xu (Fujitsu) via ltp
2024-02-28  7:19 ` Petr Vorel

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=20240228132745.GA1602633@pevik \
    --to=pvorel@suse.cz \
    --cc=ltp@lists.linux.it \
    --cc=xuyang2018.jy@fujitsu.com \
    /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