Re: [PATCH] overlay: test ro/rw fd data inconsistecies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 29, 2016 at 10:53:36AM +0200, Amir Goldstein wrote:
> On Thu, Nov 24, 2016 at 10:12 PM, Amir Goldstein <amir73il@xxxxxxxxx> wrote:
> > Introduce a new test to demonstrates a known issue with overlayfs:
> > - process A opens file F for read
> > - process B writes new data to file F
> > - process A reads old data from file F
> >
> > This issue is about to be fixed with a patch set by Miklos Szeredi.
> 
> Eryu and all,
> 
> I wanted to ask what is the common practice for introducing tests for
> know issues
> that are *about* to be solved.
> 
> What is the preferred timing for merging these sort of tests?
> Is it productive to have these tests merged before a fix is merged to master?
> Before a fix is queued for next?
> Before a fix is available?

Basically new regression tests will be merged as soon as possible, as
long as there're no objections from reviewers or all comments are
addressed.

One exception is that for tests that could crash latest maintainer's
tree (even there's a known fix), I'd perfer letting the fix go upstream
first, so that the test doesn't break anyone's tests by crashing all the
testing hosts. It's great if the test author could give a notification
on the test to say that the fix has been merged, so the test could be
merged too. I'll watch the patch status too, but maybe not so timely.

> 
> I am asking because there are several known issues for overlayfs
> whose fixes are in several different states of maturity and I would like
> to know how to treat the tests I write for them.

Thanks for writing test cases! You can send them out at anytime :)

> 
> FYI, the fix for the test in this patch (test ro/rw fd data inconsistencies)
> is not queued for next yet, but I am hoping it will be.
> Miklos?

FYI, this test is already in my last pull request to Dave.

Thanks,
Eryu
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux