-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OpenZFS restructuring - move platform specific sources
Move platform specific Linux source under module/os/linux/ and update the build system accordingly. Additional code restructuring will follow to make the common code fully portable. Reviewed-by: Jorgen Lundman <lundman@lundman.net> Reviewed-by: Igor Kozhukhov <igor@dilos.org> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Matthew Macy <mmacy@FreeBSD.org> Closes #9206
- Loading branch information
1 parent
870e7a5
commit bced7e3
Showing
62 changed files
with
167 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
/zfs_gitrev.h | ||
/spl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
subdirs-m = linux |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
subdirs-m = spl zfs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
$(MODULE)-objs += ../os/linux/spl/spl-atomic.o | ||
$(MODULE)-objs += ../os/linux/spl/spl-condvar.o | ||
$(MODULE)-objs += ../os/linux/spl/spl-cred.o | ||
$(MODULE)-objs += ../os/linux/spl/spl-err.o | ||
$(MODULE)-objs += ../os/linux/spl/spl-generic.o | ||
$(MODULE)-objs += ../os/linux/spl/spl-kmem.o | ||
$(MODULE)-objs += ../os/linux/spl/spl-kmem-cache.o | ||
$(MODULE)-objs += ../os/linux/spl/spl-kobj.o | ||
$(MODULE)-objs += ../os/linux/spl/spl-kstat.o | ||
$(MODULE)-objs += ../os/linux/spl/spl-proc.o | ||
$(MODULE)-objs += ../os/linux/spl/spl-procfs-list.o | ||
$(MODULE)-objs += ../os/linux/spl/spl-taskq.o | ||
$(MODULE)-objs += ../os/linux/spl/spl-thread.o | ||
$(MODULE)-objs += ../os/linux/spl/spl-tsd.o | ||
$(MODULE)-objs += ../os/linux/spl/spl-vmem.o | ||
$(MODULE)-objs += ../os/linux/spl/spl-vnode.o | ||
$(MODULE)-objs += ../os/linux/spl/spl-xdr.o | ||
$(MODULE)-objs += ../os/linux/spl/spl-zlib.o |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# | ||
# Linux specific sources included from module/zfs/Makefile.in | ||
# | ||
|
||
# Suppress unused-value warnings in sparc64 architecture headers | ||
ifeq ($(target_cpu),sparc64) | ||
ccflags-y += -Wno-unused-value | ||
endif | ||
|
||
ccflags-y += -I@abs_top_srcdir@/module/os/linux/zfs | ||
|
||
$(MODULE)-objs += ../os/linux/zfs/abd.o | ||
$(MODULE)-objs += ../os/linux/zfs/policy.o | ||
$(MODULE)-objs += ../os/linux/zfs/qat.o | ||
$(MODULE)-objs += ../os/linux/zfs/qat_compress.o | ||
$(MODULE)-objs += ../os/linux/zfs/qat_crypt.o | ||
$(MODULE)-objs += ../os/linux/zfs/spa_stats.o | ||
$(MODULE)-objs += ../os/linux/zfs/vdev_disk.o | ||
$(MODULE)-objs += ../os/linux/zfs/vdev_file.o | ||
$(MODULE)-objs += ../os/linux/zfs/zfs_acl.o | ||
$(MODULE)-objs += ../os/linux/zfs/zfs_ctldir.o | ||
$(MODULE)-objs += ../os/linux/zfs/zfs_debug.o | ||
$(MODULE)-objs += ../os/linux/zfs/zfs_dir.o | ||
$(MODULE)-objs += ../os/linux/zfs/zfs_sysfs.o | ||
$(MODULE)-objs += ../os/linux/zfs/zfs_vfsops.o | ||
$(MODULE)-objs += ../os/linux/zfs/zfs_vnops.o | ||
$(MODULE)-objs += ../os/linux/zfs/zfs_znode.o | ||
$(MODULE)-objs += ../os/linux/zfs/zio_crypt.o | ||
$(MODULE)-objs += ../os/linux/zfs/zpl_ctldir.o | ||
$(MODULE)-objs += ../os/linux/zfs/zpl_export.o | ||
$(MODULE)-objs += ../os/linux/zfs/zpl_file.o | ||
$(MODULE)-objs += ../os/linux/zfs/zpl_inode.o | ||
$(MODULE)-objs += ../os/linux/zfs/zpl_super.o | ||
$(MODULE)-objs += ../os/linux/zfs/zpl_xattr.o |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.