[PATCH 0/5] PMFS: Rebase to Linux 3.9

Ross Zwisler ross.zwisler at linux.intel.com
Mon Apr 29 14:42:03 EDT 2013


On Fri, 2013-04-26 at 16:20 -0600, Vishal Verma wrote:
> This patchset moves PMFS forward to Linux 3.9
> 
> Ross Zwisler (2):
>   Add README.md for PMFS
>   PMFS: Formatting fix to README.md
> 
> Sanjay Kumar (1):
>   PMFS: Remove unnecessary flushing from pmfs_fsync()
> 
> Vishal Verma (2):
>   PMFS: Add Persistent Memory File System
>   PMFS: Update README.md with mailing list info
> 
>  Documentation/filesystems/pmfs.txt   |  145 ++++
>  README.md                            |  145 ++++
>  arch/Kconfig                         |    3 +
>  arch/x86/Kconfig                     |    2 +
>  arch/x86/include/asm/io.h            |    6 +
>  arch/x86/include/asm/pgtable_types.h |    1 +
>  arch/x86/kernel/setup.c              |   17 +-
>  arch/x86/kernel/sys_x86_64.c         |  150 ++++
>  arch/x86/mm/ioremap.c                |   90 ++-
>  arch/x86/mm/pat.c                    |    2 +
>  arch/x86/mm/pgtable.c                |    2 +
>  fs/Kconfig                           |    3 +-
>  fs/Makefile                          |    1 +
>  fs/pmfs/Kconfig                      |   37 +
>  fs/pmfs/Makefile                     |   11 +
>  fs/pmfs/balloc.c                     |  256 ++++++
>  fs/pmfs/bbuild.c                     |  514 +++++++++++
>  fs/pmfs/dir.c                        |  310 +++++++
>  fs/pmfs/file.c                       |  337 ++++++++
>  fs/pmfs/inode.c                      | 1568 ++++++++++++++++++++++++++++++++++
>  fs/pmfs/ioctl.c                      |  150 ++++
>  fs/pmfs/journal.c                    |  866 +++++++++++++++++++
>  fs/pmfs/journal.h                    |  101 +++
>  fs/pmfs/namei.c                      |  797 +++++++++++++++++
>  fs/pmfs/persist.c                    |  238 +++++
>  fs/pmfs/pmfs.h                       |  576 +++++++++++++
>  fs/pmfs/pmfs_test.c                  |   50 ++
>  fs/pmfs/super.c                      | 1217 ++++++++++++++++++++++++++
>  fs/pmfs/symlink.c                    |   71 ++
>  fs/pmfs/wprotect.c                   |   91 ++
>  fs/pmfs/wprotect.h                   |  166 ++++
>  fs/pmfs/xip.c                        |  672 +++++++++++++++
>  fs/pmfs/xip.h                        |   28 +
>  include/asm-generic/pgtable.h        |    8 +
>  include/linux/io.h                   |   10 +
>  include/linux/mm.h                   |   15 +
>  include/linux/pmfs_def.h             |  206 +++++
>  include/linux/pmfs_sb.h              |   83 ++
>  include/linux/vmalloc.h              |    2 +-
>  include/uapi/linux/magic.h           |    1 +
>  lib/ioremap.c                        |  126 +++-
>  mm/madvise.c                         |    6 +
>  mm/memcontrol.c                      |    4 +-
>  mm/memory.c                          |  194 +++++-
>  mm/mlock.c                           |    5 +
>  mm/mmap.c                            |    3 +
>  mm/mprotect.c                        |    4 +
>  mm/msync.c                           |   10 +-
>  mm/vmalloc.c                         |   10 +-
>  49 files changed, 9268 insertions(+), 42 deletions(-)
>  create mode 100644 Documentation/filesystems/pmfs.txt
>  create mode 100644 README.md
>  create mode 100644 fs/pmfs/Kconfig
>  create mode 100644 fs/pmfs/Makefile
>  create mode 100644 fs/pmfs/balloc.c
>  create mode 100644 fs/pmfs/bbuild.c
>  create mode 100644 fs/pmfs/dir.c
>  create mode 100644 fs/pmfs/file.c
>  create mode 100644 fs/pmfs/inode.c
>  create mode 100644 fs/pmfs/ioctl.c
>  create mode 100644 fs/pmfs/journal.c
>  create mode 100644 fs/pmfs/journal.h
>  create mode 100644 fs/pmfs/namei.c
>  create mode 100644 fs/pmfs/persist.c
>  create mode 100644 fs/pmfs/pmfs.h
>  create mode 100644 fs/pmfs/pmfs_test.c
>  create mode 100644 fs/pmfs/super.c
>  create mode 100644 fs/pmfs/symlink.c
>  create mode 100644 fs/pmfs/wprotect.c
>  create mode 100644 fs/pmfs/wprotect.h
>  create mode 100644 fs/pmfs/xip.c
>  create mode 100644 fs/pmfs/xip.h
>  create mode 100644 include/linux/pmfs_def.h
>  create mode 100644 include/linux/pmfs_sb.h
> 
> 
> _______________________________________________
> Linux-pmfs mailing list
> Linux-pmfs at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-pmfs

I'm seeing build errors with this patch applied to both 3.9 and 3.9rc7 (the
original baseline).  These reproduce on both CentOS 6.4 and Ubuntu 12.10.

fs/pmfs/namei.c: In function ‘pmfs_get_parent’:
fs/pmfs/namei.c:763: error: unknown field ‘len’ specified in initializer
fs/pmfs/namei.c:763: warning: excess elements in struct initializer
fs/pmfs/namei.c:763: warning: (near initialization for ‘dotdot’)
fs/pmfs/namei.c: At top level:
fs/pmfs/namei.c:781: warning: initialization from incompatible pointer type
fs/pmfs/namei.c:782: warning: initialization from incompatible pointer type
  CC      fs/eventfd.o
make[2]: *** [fs/pmfs/namei.o] Error 1
make[2]: *** Waiting for unfinished jobs....
  CC      fs/aio.o
  CC      fs/locks.o
  CC      fs/compat.o
fs/pmfs/inode.c: In function ‘pmfs_read_inode’:
fs/pmfs/inode.c:823: error: incompatible types when assigning to type ‘kuid_t’ from type ‘__le32’
fs/pmfs/inode.c:824: error: incompatible types when assigning to type ‘kgid_t’ from type ‘__le32’
fs/pmfs/inode.c: In function ‘pmfs_update_inode’:
fs/pmfs/inode.c:878: error: aggregate value used where an integer was expected
fs/pmfs/inode.c:879: error: aggregate value used where an integer was expected
fs/pmfs/inode.c: In function ‘pmfs_is_inode_dirty’:
fs/pmfs/inode.c:1206: error: invalid operands to binary != (have ‘kuid_t’ and ‘__le32’)
fs/pmfs/inode.c:1207: error: invalid operands to binary != (have ‘kgid_t’ and ‘__le32’)
fs/pmfs/inode.c: In function ‘pmfs_update_single_field’:
fs/pmfs/inode.c:1437: error: aggregate value used where an integer was expected
fs/pmfs/inode.c:1440: error: aggregate value used where an integer was expected
make[2]: *** [fs/pmfs/inode.o] Error 1
fs/pmfs/super.c: In function ‘pmfs_fill_super’:
fs/pmfs/super.c:679: error: incompatible types when assigning to type ‘uid_t’ from type ‘kuid_t’
fs/pmfs/super.c:680: error: incompatible types when assigning to type ‘gid_t’ from type ‘kgid_t’
make[2]: *** [fs/pmfs/super.o] Error 1


Config attached.

- Ross

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pmfs_3.9
Type: text/x-mpsub
Size: 87881 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-pmfs/attachments/20130429/0742ec9a/attachment-0001.bin>


More information about the Linux-pmfs mailing list