* A problem about pnfs+ext4
@ 2011-07-09 15:47 Janson
2011-07-14 17:59 ` Benny Halevy
0 siblings, 1 reply; 2+ messages in thread
From: Janson @ 2011-07-09 15:47 UTC (permalink / raw)
To: linux-nfs
In the pnfs + ext4 test,we found a problem: when writting a file in pnfs
we can not read the contents from ext4. After studying we found that
ext4 extent have a initialize flag, when pnfs call fallocate, the flag will
be set to 1, but after pnfs writting data by truncate, the flags can not
be set to 0. If the flag is 1,ext4 can not read the content.
Now,in ext4 code,The only wan that ext4 set the flag to 0 is DIO.
Do you know how to solve this problem?
Best regards,
Janson
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: A problem about pnfs+ext4
2011-07-09 15:47 A problem about pnfs+ext4 Janson
@ 2011-07-14 17:59 ` Benny Halevy
0 siblings, 0 replies; 2+ messages in thread
From: Benny Halevy @ 2011-07-14 17:59 UTC (permalink / raw)
To: Janson; +Cc: linux-nfs
Hi Janson, I started looking at this.
This seems is a genuine issue with the current implementation.
It might take me a while to give you a patch to test
due to other burning stuff on my queue.
But anyhow, thanks for reporting this!
Benny
On 2011-07-09 18:47, Janson wrote:
> In the pnfs + ext4 test,we found a problem: when writting a file in pnfs
> we can not read the contents from ext4. After studying we found that
> ext4 extent have a initialize flag, when pnfs call fallocate, the flag will
> be set to 1, but after pnfs writting data by truncate, the flags can not
> be set to 0. If the flag is 1,ext4 can not read the content.
> Now,in ext4 code,The only wan that ext4 set the flag to 0 is DIO.
> Do you know how to solve this problem?
>
>
> Best regards,
> Janson
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" 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] 2+ messages in thread
end of thread, other threads:[~2011-07-14 17:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-09 15:47 A problem about pnfs+ext4 Janson
2011-07-14 17:59 ` Benny Halevy
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).