Skip to content

fix xfs by making I/O to vmap/vmalloc areas work

James Bottomley linux-arch linux-fsdevel linux-parisc 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6mm: add coherence API for DMA to vmalloc/vmap areasinclude/linux/highmem.h+6 -00 replies
2/6parisc: add mm API for DMA to vmalloc/vmap areasarch/parisc/include/asm/cacheflush.h+8 -00 replies
3/6arm: add mm API for DMA to vmalloc/vmap areasarch/arm/include/asm/cacheflush.h+10 -00 replies
4/6sh: add mm API for DMA to vmalloc/vmap areasarch/sh/include/asm/cacheflush.h+8 -02 replies
5/6block: permit I/O to vmalloc/vmap kernel pagesfs/bio.c+17 -20 replies
6/6xfs: fix xfs to work with Virtually Indexed architecturesfs/xfs/linux-2.6/xfs_buf.c+10 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] fix xfs by making I/O to vmap/vmalloc areas work

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