* Re: [PATCH 1/1] ext4, dio: Remove overflow for size >2G in aio-dio code.
[not found] ` <CA+55aFyGJTJh3jddXdapQiC4ou=sS9PFMcX_qVUGa5qBjUZjDg@mail.gmail.com>
@ 2012-05-21 23:31 ` Ted Ts'o
2012-05-22 16:11 ` Eric Sandeen
2012-05-22 16:13 ` manish honap
0 siblings, 2 replies; 4+ messages in thread
From: Ted Ts'o @ 2012-05-21 23:31 UTC (permalink / raw)
To: Linus Torvalds
Cc: manish honap, adilger.kernel@dilger.ca,
linux-fsdevel@vger.kernel.org, linux-ext4
On Mon, May 21, 2012 at 03:22:28PM -0700, Linus Torvalds wrote:
>
> So I'm pretty sure this patch is what we want, and rw_verify_area()
> really is required to protect low-level filesystems from these kinds
> of issues. Not just ext4.
>
> At the same time, I would *really* want somebody who actually uses
> anything AIO to test it out too. Because I want to not only commit it,
> but also mark it for stable - and it would be nice to have some more
> testing than me saying "ok, it passes the one test-case sent to me"
> and "hey, the code looks sane".
Hi Linus,
We do use AIO at Google, and I primarily use fio (usually as part of
xfstests) to test AIO functionality.
If you like I can carry the patch in the ext4 tree and test it as part
of the ext4 commits for the merge window.
I probably won't be able to get to it until a bit later in the week,
though. Things have been really crazy for me this past two months...
- Ted
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/1] ext4, dio: Remove overflow for size >2G in aio-dio code.
2012-05-21 23:31 ` [PATCH 1/1] ext4, dio: Remove overflow for size >2G in aio-dio code Ted Ts'o
@ 2012-05-22 16:11 ` Eric Sandeen
2012-05-22 19:02 ` Eric Sandeen
2012-05-22 16:13 ` manish honap
1 sibling, 1 reply; 4+ messages in thread
From: Eric Sandeen @ 2012-05-22 16:11 UTC (permalink / raw)
To: Ted Ts'o
Cc: Linus Torvalds, manish honap, adilger.kernel@dilger.ca,
linux-fsdevel@vger.kernel.org, linux-ext4
On 5/21/12 6:31 PM, Ted Ts'o wrote:
> On Mon, May 21, 2012 at 03:22:28PM -0700, Linus Torvalds wrote:
>>
>> So I'm pretty sure this patch is what we want, and rw_verify_area()
>> really is required to protect low-level filesystems from these kinds
>> of issues. Not just ext4.
>>
>> At the same time, I would *really* want somebody who actually uses
>> anything AIO to test it out too. Because I want to not only commit it,
>> but also mark it for stable - and it would be nice to have some more
>> testing than me saying "ok, it passes the one test-case sent to me"
>> and "hey, the code looks sane".
Just FWIW, the ext4_file_write() part of this fix was sent by Zheng Liu on 4/12/12:
[PATCH RESEND] ext4: change return value from int to ssize_t in ext4_file_write
I'll see about writing an xfstest for this stuff too so it doesn't regress again.
-Eric
> Hi Linus,
>
> We do use AIO at Google, and I primarily use fio (usually as part of
> xfstests) to test AIO functionality.
>
> If you like I can carry the patch in the ext4 tree and test it as part
> of the ext4 commits for the merge window.
>
> I probably won't be able to get to it until a bit later in the week,
> though. Things have been really crazy for me this past two months...
>
> - Ted
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/1] ext4, dio: Remove overflow for size >2G in aio-dio code.
2012-05-21 23:31 ` [PATCH 1/1] ext4, dio: Remove overflow for size >2G in aio-dio code Ted Ts'o
2012-05-22 16:11 ` Eric Sandeen
@ 2012-05-22 16:13 ` manish honap
1 sibling, 0 replies; 4+ messages in thread
From: manish honap @ 2012-05-22 16:13 UTC (permalink / raw)
To: Ted Ts'o, Linus Torvalds
Cc: linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org
Hello Linus, Ted
On Mon, May 21, 2012 at 03:22:28PM -0700, Linus Torvalds wrote:
>
> So I'm pretty sure this patch is what we want, and rw_verify_area()
> really is required to protect low-level filesystems from these kinds
> of issues. Not just ext4.
Patch works on my machine also.
>
> At the same time, I would *really* want somebody who actually uses
> anything AIO to test it out too. Because I want to not only commit it,
> but also mark it for stable - and it would be nice to have some more
> testing than me saying "ok, it passes the one test-case sent to me"
> and "hey, the code looks sane".
Used Chris Mason's aio-stress.c
- Manish
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/1] ext4, dio: Remove overflow for size >2G in aio-dio code.
2012-05-22 16:11 ` Eric Sandeen
@ 2012-05-22 19:02 ` Eric Sandeen
0 siblings, 0 replies; 4+ messages in thread
From: Eric Sandeen @ 2012-05-22 19:02 UTC (permalink / raw)
To: Eric Sandeen
Cc: Ted Ts'o, Linus Torvalds, manish honap,
adilger.kernel@dilger.ca, linux-fsdevel@vger.kernel.org,
linux-ext4
On 5/22/12 11:11 AM, Eric Sandeen wrote:
> On 5/21/12 6:31 PM, Ted Ts'o wrote:
>> On Mon, May 21, 2012 at 03:22:28PM -0700, Linus Torvalds wrote:
>>>
>>> So I'm pretty sure this patch is what we want, and rw_verify_area()
>>> really is required to protect low-level filesystems from these kinds
>>> of issues. Not just ext4.
>>>
>>> At the same time, I would *really* want somebody who actually uses
>>> anything AIO to test it out too. Because I want to not only commit it,
>>> but also mark it for stable - and it would be nice to have some more
>>> testing than me saying "ok, it passes the one test-case sent to me"
>>> and "hey, the code looks sane".
>
> Just FWIW, the ext4_file_write() part of this fix was sent by Zheng Liu on 4/12/12:
>
> [PATCH RESEND] ext4: change return value from int to ssize_t in ext4_file_write
Sorry, I was talking about Manish's original patch, not Linus's followup.
-Eric
> I'll see about writing an xfstest for this stuff too so it doesn't regress again.
>
> -Eric
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-05-22 19:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <F9014F50-D1F6-4B64-8535-7452CC64B18A@qualexsystems.com>
[not found] ` <1337500880.16053.YahooMailNeo@web192405.mail.sg3.yahoo.com>
[not found] ` <CA+55aFwTN_uFXnoLo=uJnA21FeUs_92c8FvMY6-aXk=UmF1zgQ@mail.gmail.com>
[not found] ` <1337570918.78986.YahooMailNeo@web192406.mail.sg3.yahoo.com>
[not found] ` <CA+55aFxA0Do37AxoM2MPH5nnMa2VAPHp1pKJ7CiafGGQL-b0wQ@mail.gmail.com>
[not found] ` <CA+55aFyGJTJh3jddXdapQiC4ou=sS9PFMcX_qVUGa5qBjUZjDg@mail.gmail.com>
2012-05-21 23:31 ` [PATCH 1/1] ext4, dio: Remove overflow for size >2G in aio-dio code Ted Ts'o
2012-05-22 16:11 ` Eric Sandeen
2012-05-22 19:02 ` Eric Sandeen
2012-05-22 16:13 ` manish honap
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).