mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
40b78a3223
This has been on my list for some time. We need to change the way in which we handle extended attributes to allow faster file creation times (by reducing the number of transactions required) and the extended attribute code is the main obstacle to this. In addition to that, the VFS provides a way to demultiplex the xattr calls which we ought to be using, rather than rolling our own. This patch changes the GFS2 code to use that VFS feature and as a result the code shrinks by a couple of hundred lines or so, and becomes easier to read. I'm planning on doing further clean up work in this area, but this patch is a good start. The cleaned up code also uses the more usual "xattr" shorthand, I plan to eliminate the use of "eattr" eventually and in the mean time it serves as a flag as to which bits of the code have been updated. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
11 lines
323 B
Makefile
11 lines
323 B
Makefile
EXTRA_CFLAGS := -I$(src)
|
|
obj-$(CONFIG_GFS2_FS) += gfs2.o
|
|
gfs2-y := acl.o bmap.o dir.o eattr.o glock.o \
|
|
glops.o inode.o log.o lops.o main.o meta_io.o \
|
|
aops.o dentry.o export.o file.o \
|
|
ops_fstype.o ops_inode.o quota.o \
|
|
recovery.o rgrp.o super.o sys.o trans.o util.o
|
|
|
|
gfs2-$(CONFIG_GFS2_FS_LOCKING_DLM) += lock_dlm.o
|
|
|