Uploaded image for project: 'RHEL Testing'
  1. RHEL Testing
  2. RHELTEST-2216

xfs/539: Remount with noattr2 fail

    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • rhel-se-kernel

      We're missing this in xfstests:

      ommit 83e1f4c43817aa0fa4419c1f9591b45b7f42de9f
      Author: Nirjhar Roy (IBM) <nirjhar.roy.lists@gmail.com>
      Date:   Tue Mar 4 13:48:16 2025 +0000

          xfs/539: Ignore remount failures on v5 xfs
          
          Remount with noattr2 fails on a v5 filesystem, however the deprecation
          warnings still get printed and that is exactly what the test
          is checking. So ignore the mount failures in this case.
          
          Signed-off-by: Nirjhar Roy (IBM) <nirjhar.roy.lists@gmail.com>
          Reviewed-by: Pavel Reichl <preichl@redhat.com>
          Signed-off-by: Zorro Lang <zlang@kernel.org>

      diff --git a/tests/xfs/539 b/tests/xfs/539
      index b9bb7cc1..5098be4a 100755
      — a/tests/xfs/539
      +++ b/tests/xfs/539
      @@ -61,7 +61,7 @@ for VAR in {attr2,noikeep}; do
       done
       for VAR in {noattr2,ikeep}; do
              log_tag

      •       _scratch_remount $VAR
        +       _scratch_remount $VAR >> $seqres.full 2>&1
                check_dmesg_for_since_tag "XFS: $VAR mount option is deprecated" || \
                        echo "Could not find deprecation warning for $VAR"
         done

              rhn-support-gsierohu Gonzalo Siero Humet
              rhn-support-gsierohu Gonzalo Siero Humet
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: