* [PATCH v2 1/2] generic/732: remove unused code
@ 2024-07-29 8:47 Yang Erkun
2024-07-29 8:47 ` [PATCH v2 2/2] generic/732: don't run it on tmpfs Yang Erkun
2024-07-29 14:16 ` [PATCH v2 1/2] generic/732: remove unused code Christoph Hellwig
0 siblings, 2 replies; 12+ messages in thread
From: Yang Erkun @ 2024-07-29 8:47 UTC (permalink / raw)
To: hch, zlang; +Cc: fstests, linux-mm, hughd, akpm, yoyang, yangerkun
After commit 4fd042e0465c("generic/732: don't run it on NFS"), we will
not run this case for nfs, so remove this unused code.
Signed-off-by: Yang Erkun <yangerkun@huawei.com>
---
tests/generic/732 | 5 -----
1 file changed, 5 deletions(-)
diff --git a/tests/generic/732 b/tests/generic/732
index a571f0f5..d8475cda 100755
--- a/tests/generic/732
+++ b/tests/generic/732
@@ -34,11 +34,6 @@ testdir2=$TEST_DIR/mountpoint2-$seq
rm -rf $testdir1 $testdir2
mkdir -p $testdir1 $testdir2
-# Don't share the data and attribute caches among mount points for NFS.
-# This caching behavior is necessary to reproduce this issue as we're
-# checking the alignment of each mount point's own unique cache.
-[ "$FSTYP" = "nfs" ] && MOUNT_OPTIONS="-o nosharecache"
-
SCRATCH_MNT=$testdir1 _scratch_mount
SCRATCH_MNT=$testdir2 _scratch_mount
rm -rf $testdir1/{A,B}
--
2.39.2
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v2 2/2] generic/732: don't run it on tmpfs
2024-07-29 8:47 [PATCH v2 1/2] generic/732: remove unused code Yang Erkun
@ 2024-07-29 8:47 ` Yang Erkun
2024-07-29 14:16 ` Christoph Hellwig
2024-07-29 14:16 ` [PATCH v2 1/2] generic/732: remove unused code Christoph Hellwig
1 sibling, 1 reply; 12+ messages in thread
From: Yang Erkun @ 2024-07-29 8:47 UTC (permalink / raw)
To: hch, zlang; +Cc: fstests, linux-mm, hughd, akpm, yoyang, yangerkun
Like what 4fd042e0465c("generic/732: don't run it on NFS") say, the same
options for tmpfs won't share the same backend. Skip it for tmpfs.
Besides, add some explanation for why we should skip tmpfs.
Signed-off-by: Yang Erkun <yangerkun@huawei.com>
---
tests/generic/732 | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tests/generic/732 b/tests/generic/732
index d8475cda..d08028c2 100755
--- a/tests/generic/732
+++ b/tests/generic/732
@@ -21,7 +21,10 @@ _cleanup()
rm -r -f $tmp.*
}
-_supported_fs ^nfs ^overlay
+# This case give a assumption that the same mount options for
+# different mount point will share the same superblock, which won't
+# sucess for the follow fs.
+_supported_fs ^nfs ^overlay ^tmpfs
_require_test
_require_scratch
--
2.39.2
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH v2 1/2] generic/732: remove unused code
2024-07-29 8:47 [PATCH v2 1/2] generic/732: remove unused code Yang Erkun
2024-07-29 8:47 ` [PATCH v2 2/2] generic/732: don't run it on tmpfs Yang Erkun
@ 2024-07-29 14:16 ` Christoph Hellwig
2024-08-17 6:24 ` yangerkun
1 sibling, 1 reply; 12+ messages in thread
From: Christoph Hellwig @ 2024-07-29 14:16 UTC (permalink / raw)
To: Yang Erkun; +Cc: hch, zlang, fstests, linux-mm, hughd, akpm, yoyang
Looks good:
Reviewed-by: Christoph Hellwig <hch@lst.de>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2 2/2] generic/732: don't run it on tmpfs
2024-07-29 8:47 ` [PATCH v2 2/2] generic/732: don't run it on tmpfs Yang Erkun
@ 2024-07-29 14:16 ` Christoph Hellwig
2024-07-29 14:21 ` Chuck Lever III
0 siblings, 1 reply; 12+ messages in thread
From: Christoph Hellwig @ 2024-07-29 14:16 UTC (permalink / raw)
To: Yang Erkun; +Cc: hch, zlang, fstests, linux-mm, hughd, akpm, yoyang
Looks good:
Reviewed-by: Christoph Hellwig <hch@lst.de>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2 2/2] generic/732: don't run it on tmpfs
2024-07-29 14:16 ` Christoph Hellwig
@ 2024-07-29 14:21 ` Chuck Lever III
2024-07-29 14:24 ` Chuck Lever III
2024-07-29 14:28 ` yangerkun
0 siblings, 2 replies; 12+ messages in thread
From: Chuck Lever III @ 2024-07-29 14:21 UTC (permalink / raw)
To: Christoph Hellwig, Yang Erkun
Cc: zlang@kernel.org, fstests@vger.kernel.org, linux-mm, Hugh Dickins,
Andrew Morton, yoyang@redhat.com
> On Jul 29, 2024, at 10:16 AM, Christoph Hellwig <hch@infradead.org> wrote:
>
> Looks good:
>
> Reviewed-by: Christoph Hellwig <hch@lst.de>
>
I would prefer this test continue to run on tmpfs.
tmpfs is broken, and needs to be fixed. If the generic/732
failure is an issue, then add it to the expunge list --
it found a real bug, that, once fixed, we don't want to
reappear.
--
Chuck Lever
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2 2/2] generic/732: don't run it on tmpfs
2024-07-29 14:21 ` Chuck Lever III
@ 2024-07-29 14:24 ` Chuck Lever III
2024-07-29 14:30 ` yangerkun
2024-07-29 14:28 ` yangerkun
1 sibling, 1 reply; 12+ messages in thread
From: Chuck Lever III @ 2024-07-29 14:24 UTC (permalink / raw)
To: Christoph Hellwig, Yang Erkun
Cc: zlang@kernel.org, fstests@vger.kernel.org, linux-mm, Hugh Dickins,
Andrew Morton, yoyang@redhat.com
> On Jul 29, 2024, at 10:21 AM, Chuck Lever III <chuck.lever@oracle.com> wrote:
>
>
>
>> On Jul 29, 2024, at 10:16 AM, Christoph Hellwig <hch@infradead.org> wrote:
>>
>> Looks good:
>>
>> Reviewed-by: Christoph Hellwig <hch@lst.de>
>>
>
> I would prefer this test continue to run on tmpfs.
>
> tmpfs is broken, and needs to be fixed. If the generic/732
> failure is an issue, then add it to the expunge list --
> it found a real bug, that, once fixed, we don't want to
> reappear.
Never mind.
Christoph, you deleted the context for this, and the
Subject: was one character different than the one for
generic/736. Even properly dosed on caffeine I missed
that.
--
Chuck Lever
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2 2/2] generic/732: don't run it on tmpfs
2024-07-29 14:21 ` Chuck Lever III
2024-07-29 14:24 ` Chuck Lever III
@ 2024-07-29 14:28 ` yangerkun
1 sibling, 0 replies; 12+ messages in thread
From: yangerkun @ 2024-07-29 14:28 UTC (permalink / raw)
To: Chuck Lever III, Christoph Hellwig
Cc: zlang@kernel.org, fstests@vger.kernel.org, linux-mm, Hugh Dickins,
Andrew Morton, yoyang@redhat.com
在 2024/7/29 22:21, Chuck Lever III 写道:
>
>
>> On Jul 29, 2024, at 10:16 AM, Christoph Hellwig <hch@infradead.org> wrote:
>>
>> Looks good:
>>
>> Reviewed-by: Christoph Hellwig <hch@lst.de>
>>
>
> I would prefer this test continue to run on tmpfs.
>
> tmpfs is broken, and needs to be fixed. If the generic/732
> failure is an issue, then add it to the expunge list --
> it found a real bug, that, once fixed, we don't want to
> reappear.
The reason why I thinks it should not run for tmpfs is that the same
mount options won't share the same sb. I prefer it's a expected behavior...
>
>
> --
> Chuck Lever
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2 2/2] generic/732: don't run it on tmpfs
2024-07-29 14:24 ` Chuck Lever III
@ 2024-07-29 14:30 ` yangerkun
0 siblings, 0 replies; 12+ messages in thread
From: yangerkun @ 2024-07-29 14:30 UTC (permalink / raw)
To: Chuck Lever III, Christoph Hellwig
Cc: zlang@kernel.org, fstests@vger.kernel.org, linux-mm, Hugh Dickins,
Andrew Morton, yoyang@redhat.com
在 2024/7/29 22:24, Chuck Lever III 写道:
>
>
>> On Jul 29, 2024, at 10:21 AM, Chuck Lever III <chuck.lever@oracle.com> wrote:
>>
>>
>>
>>> On Jul 29, 2024, at 10:16 AM, Christoph Hellwig <hch@infradead.org> wrote:
>>>
>>> Looks good:
>>>
>>> Reviewed-by: Christoph Hellwig <hch@lst.de>
>>>
>>
>> I would prefer this test continue to run on tmpfs.
>>
>> tmpfs is broken, and needs to be fixed. If the generic/732
>> failure is an issue, then add it to the expunge list --
>> it found a real bug, that, once fixed, we don't want to
>> reappear.
>
> Never mind.
>
> Christoph, you deleted the context for this, and the
> Subject: was one character different than the one for
> generic/736. Even properly dosed on caffeine I missed
> that.
Aha, got it.
>
> --
> Chuck Lever
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2 1/2] generic/732: remove unused code
2024-07-29 14:16 ` [PATCH v2 1/2] generic/732: remove unused code Christoph Hellwig
@ 2024-08-17 6:24 ` yangerkun
2024-08-17 19:16 ` Zorro Lang
0 siblings, 1 reply; 12+ messages in thread
From: yangerkun @ 2024-08-17 6:24 UTC (permalink / raw)
To: zlang; +Cc: fstests, Christoph Hellwig
Hi,
Ping for this patchset.
在 2024/7/29 22:16, Christoph Hellwig 写道:
> Looks good:
>
> Reviewed-by: Christoph Hellwig <hch@lst.de>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2 1/2] generic/732: remove unused code
2024-08-17 6:24 ` yangerkun
@ 2024-08-17 19:16 ` Zorro Lang
2024-08-19 1:06 ` yangerkun
0 siblings, 1 reply; 12+ messages in thread
From: Zorro Lang @ 2024-08-17 19:16 UTC (permalink / raw)
To: yangerkun; +Cc: zlang, fstests, Christoph Hellwig
On Sat, Aug 17, 2024 at 02:24:26PM +0800, yangerkun wrote:
> Hi,
>
> Ping for this patchset.
Is there anything wrong? This patchset has been merged as:
50da3fd9 generic/732: don't run it on tmpfs
52a36bfb generic/732: remove unused code
Thanks,
Zorro
>
> 在 2024/7/29 22:16, Christoph Hellwig 写道:
> > Looks good:
> >
> > Reviewed-by: Christoph Hellwig <hch@lst.de>
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2 1/2] generic/732: remove unused code
2024-08-17 19:16 ` Zorro Lang
@ 2024-08-19 1:06 ` yangerkun
2024-08-19 12:53 ` Zorro Lang
0 siblings, 1 reply; 12+ messages in thread
From: yangerkun @ 2024-08-19 1:06 UTC (permalink / raw)
To: Zorro Lang; +Cc: zlang, fstests, Christoph Hellwig
在 2024/8/18 3:16, Zorro Lang 写道:
> On Sat, Aug 17, 2024 at 02:24:26PM +0800, yangerkun wrote:
>> Hi,
>>
>> Ping for this patchset.
>
> Is there anything wrong? This patchset has been merged as:
>
> 50da3fd9 generic/732: don't run it on tmpfs
> 52a36bfb generic/732: remove unused code
Sorry! I have not notice that this patchset has been merged to
patches-in-queue.
>
> Thanks,
> Zorro
>
>>
>> 在 2024/7/29 22:16, Christoph Hellwig 写道:
>>> Looks good:
>>>
>>> Reviewed-by: Christoph Hellwig <hch@lst.de>
>>
>>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v2 1/2] generic/732: remove unused code
2024-08-19 1:06 ` yangerkun
@ 2024-08-19 12:53 ` Zorro Lang
0 siblings, 0 replies; 12+ messages in thread
From: Zorro Lang @ 2024-08-19 12:53 UTC (permalink / raw)
To: yangerkun; +Cc: fstests
On Mon, Aug 19, 2024 at 09:06:06AM +0800, yangerkun wrote:
>
>
> 在 2024/8/18 3:16, Zorro Lang 写道:
> > On Sat, Aug 17, 2024 at 02:24:26PM +0800, yangerkun wrote:
> > > Hi,
> > >
> > > Ping for this patchset.
> >
> > Is there anything wrong? This patchset has been merged as:
> >
> > 50da3fd9 generic/732: don't run it on tmpfs
> > 52a36bfb generic/732: remove unused code
>
> Sorry! I have not notice that this patchset has been merged to
> patches-in-queue.
It's not only in patches-in-queue, it's been in for-next branch
with "v2024.08.11" tag.
Thanks,
Zorro
>
> >
> > Thanks,
> > Zorro
> >
> > >
> > > 在 2024/7/29 22:16, Christoph Hellwig 写道:
> > > > Looks good:
> > > >
> > > > Reviewed-by: Christoph Hellwig <hch@lst.de>
> > >
> > >
>
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2024-08-19 12:53 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-29 8:47 [PATCH v2 1/2] generic/732: remove unused code Yang Erkun
2024-07-29 8:47 ` [PATCH v2 2/2] generic/732: don't run it on tmpfs Yang Erkun
2024-07-29 14:16 ` Christoph Hellwig
2024-07-29 14:21 ` Chuck Lever III
2024-07-29 14:24 ` Chuck Lever III
2024-07-29 14:30 ` yangerkun
2024-07-29 14:28 ` yangerkun
2024-07-29 14:16 ` [PATCH v2 1/2] generic/732: remove unused code Christoph Hellwig
2024-08-17 6:24 ` yangerkun
2024-08-17 19:16 ` Zorro Lang
2024-08-19 1:06 ` yangerkun
2024-08-19 12:53 ` Zorro Lang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox