* Port xfstests 145, 161, 175, 176, 185?
@ 2011-06-08 18:48 Allison Henderson
2011-06-09 11:08 ` Christoph Hellwig
0 siblings, 1 reply; 3+ messages in thread
From: Allison Henderson @ 2011-06-08 18:48 UTC (permalink / raw)
To: Ext4 Developers List, linux-fsdevel, xfs-oss
Hi all!
During one of my reviews for the punch hole tests patch set it was
mentioned that it would be helpful to take the xfstests 145, 161, 175,
176, 185 and modify them such that they can run with out requiring the
dmapi. These tests contain some more interesting punch hole tests, but
they dont normally run unless there is support for dmapi.
I did take a peek at them and I was thinking that if we decide to do
this, we would probably need to do something like introduce a new set of
source code that is similar to what is seen under the dmapi folder, but
modified to use a generic interface instead of the dmapi libraries. We
could try to merge them into a single code path, but I think that may
introduce more complexities than would be desirable.
I just wanted to get a general consensus of how many people would be
interested in this idea. Thx all!
Allison Henderson
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Port xfstests 145, 161, 175, 176, 185?
2011-06-08 18:48 Port xfstests 145, 161, 175, 176, 185? Allison Henderson
@ 2011-06-09 11:08 ` Christoph Hellwig
2011-06-09 19:17 ` Allison Henderson
0 siblings, 1 reply; 3+ messages in thread
From: Christoph Hellwig @ 2011-06-09 11:08 UTC (permalink / raw)
To: Allison Henderson; +Cc: Ext4 Developers List, linux-fsdevel, xfs-oss
On Wed, Jun 08, 2011 at 11:48:58AM -0700, Allison Henderson wrote:
> During one of my reviews for the punch hole tests patch set it was
> mentioned that it would be helpful to take the xfstests 145, 161,
> 175, 176, 185 and modify them such that they can run with out
> requiring the dmapi. These tests contain some more interesting
> punch hole tests, but they dont normally run unless there is support
> for dmapi.
>
> I did take a peek at them and I was thinking that if we decide to do
> this, we would probably need to do something like introduce a new
> set of source code that is similar to what is seen under the dmapi
> folder, but modified to use a generic interface instead of the dmapi
> libraries. We could try to merge them into a single code path, but
> I think that may introduce more complexities than would be
> desirable.
Most of it should be doable using xfs_io. If it's nessecary to write
new source files because of e.g. concurrency tests that we can't easily
do from xfs_io please add new source files to the src/ directory.
Also, please don't rewrite the actual existing dmapi test cases, but
add new ones testing these patterns using the fallocate interface, as
the coverage for the dmapi interface still is useful.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Port xfstests 145, 161, 175, 176, 185?
2011-06-09 11:08 ` Christoph Hellwig
@ 2011-06-09 19:17 ` Allison Henderson
0 siblings, 0 replies; 3+ messages in thread
From: Allison Henderson @ 2011-06-09 19:17 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: linux-fsdevel, Ext4 Developers List, xfs-oss
On 06/09/2011 04:08 AM, Christoph Hellwig wrote:
> On Wed, Jun 08, 2011 at 11:48:58AM -0700, Allison Henderson wrote:
>> During one of my reviews for the punch hole tests patch set it was
>> mentioned that it would be helpful to take the xfstests 145, 161,
>> 175, 176, 185 and modify them such that they can run with out
>> requiring the dmapi. These tests contain some more interesting
>> punch hole tests, but they dont normally run unless there is support
>> for dmapi.
>>
>> I did take a peek at them and I was thinking that if we decide to do
>> this, we would probably need to do something like introduce a new
>> set of source code that is similar to what is seen under the dmapi
>> folder, but modified to use a generic interface instead of the dmapi
>> libraries. We could try to merge them into a single code path, but
>> I think that may introduce more complexities than would be
>> desirable.
>
> Most of it should be doable using xfs_io. If it's nessecary to write
> new source files because of e.g. concurrency tests that we can't easily
> do from xfs_io please add new source files to the src/ directory.
>
> Also, please don't rewrite the actual existing dmapi test cases, but
> add new ones testing these patterns using the fallocate interface, as
> the coverage for the dmapi interface still is useful.
>
Alrighty, thx Christoph. I will keep this work item on my todo list then.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-06-09 19:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-08 18:48 Port xfstests 145, 161, 175, 176, 185? Allison Henderson
2011-06-09 11:08 ` Christoph Hellwig
2011-06-09 19:17 ` Allison Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).