linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] fix xfs by making I/O to vmap/vmalloc areas work
@ 2009-09-09 15:52 James Bottomley
  2009-09-09 15:52 ` [PATCH 1/6] mm: add coherence API for DMA to vmalloc/vmap areas James Bottomley
  2009-09-10  6:14 ` [PATCH 0/6] fix xfs by making I/O to vmap/vmalloc areas work Matt Fleming
  0 siblings, 2 replies; 14+ messages in thread
From: James Bottomley @ 2009-09-09 15:52 UTC (permalink / raw)
  To: linux-arch, linux-fsdevel, linux-parisc
  Cc: Russell King, Christoph Hellwig, Paul Mundt, James Bottomley

Here's version two of the patch set.  It actually compiles on both x86
and parisc.  I could do with someone to test it on arm and sh.

The key test is how xfs behaves.  What I did to recreate the problem
on parisc was simply create an 8GB xfs filesystem, use cp -a to pump
about a GB of data into it from my git trees, then unmount and run
xfs_check.  Before the patches, xfs_check reports the whole fs to be
corrupt.  After the patches it reports everything to be OK.

James

---

 arch/arm/include/asm/cacheflush.h    |   10 ++++++++++
 arch/parisc/include/asm/cacheflush.h |    8 ++++++++
 arch/sh/include/asm/cacheflush.h     |    8 ++++++++
 fs/bio.c                             |   19 +++++++++++++++++--
 fs/xfs/linux-2.6/xfs_buf.c           |   10 ++++++++++
 include/linux/highmem.h              |    6 ++++++
 6 files changed, 59 insertions(+), 2 deletions(-)

^ permalink raw reply	[flat|nested] 14+ messages in thread
* [PATCH 0/6] fix xfs by making I/O to vmap/vmalloc areas work
@ 2009-09-17 23:06 James Bottomley
  2009-09-17 23:06 ` [PATCH 1/6] mm: add coherence API for DMA to vmalloc/vmap areas James Bottomley
  0 siblings, 1 reply; 14+ messages in thread
From: James Bottomley @ 2009-09-17 23:06 UTC (permalink / raw)
  To: linux-arch, linux-fsdevel, linux-parisc
  Cc: Russell King, Christoph Hellwig, Paul Mundt, James Bottomley

From: James Bottomley <James.Bottomley@HansenPartnership.com>

Here's version three of the patch.  This one makes sure the invalidate
works correctly.  I verified it on parisc by making my system print out
the virtual addresses it was invalidating and matching up with the ones
that were initially flushed, but since invalidate is a nop on parisc, I
can't verify live that the issue is fixed.  I'd really appreciate someone
from arm and sh testing here.

Thanks,

James

---

James Bottomley (6):
  mm: add coherence API for DMA to vmalloc/vmap areas
  parisc: add mm API for DMA to vmalloc/vmap areas
  arm: add mm API for DMA to vmalloc/vmap areas
  sh: add mm API for DMA to vmalloc/vmap areas
  block: permit I/O to vmalloc/vmap kernel pages
  xfs: fix xfs to work with Virtually Indexed architectures

 arch/arm/include/asm/cacheflush.h    |   10 ++++++++++
 arch/parisc/include/asm/cacheflush.h |    8 ++++++++
 arch/sh/include/asm/cacheflush.h     |    8 ++++++++
 fs/bio.c                             |   20 ++++++++++++++++++--
 fs/xfs/linux-2.6/xfs_buf.c           |   20 ++++++++++++++++++++
 include/linux/highmem.h              |    6 ++++++
 6 files changed, 70 insertions(+), 2 deletions(-)


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2009-09-17 23:07 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-09 15:52 [PATCH 0/6] fix xfs by making I/O to vmap/vmalloc areas work James Bottomley
2009-09-09 15:52 ` [PATCH 1/6] mm: add coherence API for DMA to vmalloc/vmap areas James Bottomley
2009-09-09 15:52   ` [PATCH 2/6] parisc: add mm " James Bottomley
2009-09-09 15:52     ` [PATCH 3/6] arm: " James Bottomley
2009-09-09 15:52       ` [PATCH 4/6] sh: " James Bottomley
2009-09-09 15:52         ` [PATCH 5/6] block: permit I/O to vmalloc/vmap kernel pages James Bottomley
2009-09-09 15:52           ` [PATCH 6/6] xfs: fix xfs to work with Virtually Indexed architectures James Bottomley
2009-09-09 17:55             ` Christoph Hellwig
2009-09-11 21:57             ` James Bottomley
2009-09-10  0:27         ` [PATCH 4/6] sh: add mm API for DMA to vmalloc/vmap areas Paul Mundt
2009-09-10  0:32           ` James Bottomley
2009-09-10  6:14 ` [PATCH 0/6] fix xfs by making I/O to vmap/vmalloc areas work Matt Fleming
2009-09-11 21:37   ` James Bottomley
  -- strict thread matches above, loose matches on Subject: below --
2009-09-17 23:06 James Bottomley
2009-09-17 23:06 ` [PATCH 1/6] mm: add coherence API for DMA to vmalloc/vmap areas James Bottomley
2009-09-17 23:06   ` [PATCH 2/6] parisc: add mm " James Bottomley
2009-09-17 23:06     ` [PATCH 3/6] arm: " James Bottomley
2009-09-17 23:06       ` [PATCH 4/6] sh: " James Bottomley

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).