Re: [PATCH 2/3] ext4: Context support

2012-06-15 Thread Andreas Dilger
On 2012-06-15, at 4:04 PM, Ted Ts'o wrote: > On Thu, Jun 14, 2012 at 09:55:31PM +, Arnd Bergmann wrote: >> There is one more option we have to give the best possible performance, >> although that would be a huge amount of work to implement: >> >> Any large file gets put into its own context, a

Re: [PATCH 2/3] ext4: Context support

2012-06-15 Thread Andreas Dilger
On 2012-06-15, at 3:25 AM, Arnd Bergmann wrote: > On Friday 15 June 2012, Andreas Dilger wrote: >> On 2012-06-14, at 3:55 PM, Arnd Bergmann wrote: >>> My feeling is that we would actually benefit much more from the >>> erase block alignment than from the context for

Re: [PATCH 2/3] ext4: Context support

2012-06-14 Thread Andreas Dilger
On 2012-06-14, at 3:55 PM, Arnd Bergmann wrote: > My feeling is that we would actually benefit much more from the > erase block alignment than from the context for the large files. > > I think this is something we can do in the Linaro storage team. > We actually have plans to also put the erase bl

Re: Corruption on shutdown outside the current partition

2011-05-30 Thread Andreas Dilger
On 2011-05-30, at 10:04 AM, Romain Izard wrote: > During reliability testing of an embedded Linux system using a eMMC chip > for code storage and execution, I have encountered occurences of > corruption outside of the partition being tested, typically breaking the > test in progress. This is a rand

Re: Is it possible for the ext4/btrfs file system to pass some context related info to low level block driver?

2011-05-05 Thread Andreas Dilger
On May 5, 2011, at 12:10, Matthew Wilcox wrote: > On Wed, May 04, 2011 at 08:51:39AM -0600, Andreas Dilger wrote: >> I was aware of REQ_META, but I didn't know there was any benefit to >> using it. I think it would be easy to set REQ_META on all ext4 metadata >> if t

Re: Is it possible for the ext4/btrfs file system to pass some context related info to low level block driver?

2011-05-04 Thread Andreas Dilger
On 2011-05-04, at 5:45 AM, "Gao, Yunpeng" wrote: >> Yes, I have been working on some changes that allow us to tag bios and >> pass the information out to storage. These patches have been on the back >> burner for a while due to other commitments. But I'll dig them out and >> post them later. We ju

Re: [RFC 4/5] MMC: Adjust unaligned write accesses.

2011-03-22 Thread Andreas Dilger
On 2011-03-22, at 2:56 PM, Arnd Bergmann wrote: > On Tuesday 22 March 2011, Andreas Dilger wrote: >> On 2011-03-21, at 8:05 PM, Arnd Bergmann wrote: >>> So would I set the stripe_width to the erase block size, and the >>> block group size to a multiple of that? >>

Re: [RFC 4/5] MMC: Adjust unaligned write accesses.

2011-03-21 Thread Andreas Dilger
On 2011-03-21, at 8:05 PM, Arnd Bergmann wrote: > On Monday 21 March 2011 19:03:09 Andreas Dilger wrote: >> Note that mballoc was specifically designed to handle allocation >> requests that are aligned on RAID stripe boundaries, so it should >> be able to handle this for

Re: [RFC 4/5] MMC: Adjust unaligned write accesses.

2011-03-21 Thread Andreas Dilger
On 2011-03-21, at 3:41 PM, Andrei Warkentin wrote: > On Mon, Mar 21, 2011 at 9:21 AM, Arnd Bergmann wrote: >>> Attached file (I hope you don't mind PDFs) contains data collected for >>> two possible optimizations. The second page of the document tests the >>> vendor suggested optimization that is