07 Feb, 2008
6 commits
-
SGI-PV: 971186
SGI-Modid: xfs-linux-melb:xfs-kern:30459aSigned-off-by: Lachlan McIlroy
Signed-off-by: Denis Cheng -
To get the read-only bind mounts in -mm to work correctly with XFS we need
to call the drop_nlink and inc_nlink helpers to monitor the link count.
Add calls to these to xfs_bumplink and xfs_droplink and stop copying over
di_nlink to i_nlink in xfs_validate_fields and vn_revalidate.SGI-PV: 971186
SGI-Modid: xfs-linux-melb:xfs-kern:30392aSigned-off-by: Christoph Hellwig
Signed-off-by: Lachlan McIlroy -
The VFS doesn't use i_blocks, it's only used by generic_fillattr and the
generic quota code which XFS doesn't use. In XFS there is one use to check
whether we have an inline or out of line sumlink, but we can replace that
with a check of the XFS_IFINLINE inode flag.SGI-PV: 971186
SGI-Modid: xfs-linux-melb:xfs-kern:30391aSigned-off-by: Christoph Hellwig
Signed-off-by: Lachlan McIlroy -
Get rid of vnode useage in xfs_iget.c and pass Linux inode / xfs_inode
where apropinquate. And kill some useless helpers while we're at it.SGI-PV: 971186
SGI-Modid: xfs-linux-melb:xfs-kern:29808aSigned-off-by: Christoph Hellwig
Signed-off-by: Lachlan McIlroy
Signed-off-by: Tim Shimmin -
No need to allocate a bhv_vattr_t on stack and call xfs_getattr to update
a few fields in the Linux inode from the XFS inode, just do it directly.And yes, this function is in dire need of a better name and prototype,
I'll do in a separate patch, though.SGI-PV: 970705
SGI-Modid: xfs-linux-melb:xfs-kern:29713aSigned-off-by: Christoph Hellwig
Signed-off-by: Lachlan McIlroy
Signed-off-by: Tim Shimmin -
Simplify vnode tracing calls by embedding function name & return addr in
the calling macro.Also do a lot of vnode->inode renaming for consistency, while we're at it.
SGI-PV: 970335
SGI-Modid: xfs-linux-melb:xfs-kern:29650aSigned-off-by: Eric Sandeen
Signed-off-by: Lachlan McIlroy
Signed-off-by: Tim Shimmin
16 Oct, 2007
7 commits
-
Also remove the now dead behavior code.
SGI-PV: 969608
SGI-Modid: xfs-linux-melb:xfs-kern:29505aSigned-off-by: Christoph Hellwig
Signed-off-by: David Chinner
Signed-off-by: Tim Shimmin -
It's entirely unused except for ignored arguments in the mrlock
initialization, so remove it.SGI-PV: 969608
SGI-Modid: xfs-linux-melb:xfs-kern:29499aSigned-off-by: Christoph Hellwig
Signed-off-by: David Chinner
Signed-off-by: Tim Shimmin -
struct bhv_vnode is on it's way out, so move the trace buffer to the XFS
inode. Note that this makes the tracing macros rather misnamed, but this
kind of fallout will be fixed up incrementally later on.SGI-PV: 969608
SGI-Modid: xfs-linux-melb:xfs-kern:29498aSigned-off-by: Christoph Hellwig
Signed-off-by: David Chinner
Signed-off-by: Tim Shimmin -
struct bhv_vnode is on it's way out, so move the I/O count to the XFS
inode.SGI-PV: 969608
SGI-Modid: xfs-linux-melb:xfs-kern:29497aSigned-off-by: Christoph Hellwig
Signed-off-by: David Chinner
Signed-off-by: Tim Shimmin -
All flags previously handled at the vnode level are not in the xfs_inode
where we already have a flags mechanisms and free bits for flags
previously in the vnode.SGI-PV: 969608
SGI-Modid: xfs-linux-melb:xfs-kern:29495aSigned-off-by: Christoph Hellwig
Signed-off-by: David Chinner
Signed-off-by: Tim Shimmin -
We can easily get at the vfsp through the super_block but it will soon be
gone anyway.SGI-PV: 969608
SGI-Modid: xfs-linux-melb:xfs-kern:29494aSigned-off-by: Christoph Hellwig
Signed-off-by: David Chinner
Signed-off-by: Tim Shimmin -
SGI-PV: 969608
SGI-Modid: xfs-linux-melb:xfs-kern:29493aSigned-off-by: Christoph Hellwig
Signed-off-by: David Chinner
Signed-off-by: Tim Shimmin
10 Feb, 2007
1 commit
-
gcc-4.1 and more recent aggressively inline static functions which
increases XFS stack usage by ~15% in critical paths. Prevent this from
occurring by adding noinline to the STATIC definition.Also uninline some functions that are too large to be inlined and were
causing problems with CONFIG_FORCED_INLINING=y.Finally, clean up all the different users of inline, __inline and
__inline__ and put them under one STATIC_INLINE macro. For debug kernels
the STATIC_INLINE macro uninlines those functions.SGI-PV: 957159
SGI-Modid: xfs-linux-melb:xfs-kern:27585aSigned-off-by: David Chinner
Signed-off-by: David Chatterton
Signed-off-by: Tim Shimmin
27 Sep, 2006
1 commit
-
This eliminates the i_blksize field from struct inode. Filesystems that want
to provide a per-inode st_blksize can do so by providing their own getattr
routine instead of using the generic_fillattr() function.Note that some filesystems were providing pretty much random (and incorrect)
values for i_blksize.[bunk@stusta.de: cleanup]
[akpm@osdl.org: generic_fillattr() fix]
Signed-off-by: "Theodore Ts'o"
Signed-off-by: Adrian Bunk
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
09 Jun, 2006
4 commits
-
porters.
SGI-PV: 953338
SGI-Modid: xfs-linux-melb:xfs-kern:26108aSigned-off-by: Nathan Scott
-
SGI-PV: 953338
SGI-Modid: xfs-linux-melb:xfs-kern:26107aSigned-off-by: Nathan Scott
-
SGI-PV: 9533338
SGI-Modid: xfs-linux-melb:xfs-kern:26106aSigned-off-by: Nathan Scott
-
shutdown vop flags consistent with sync vop flags declarations too.
SGI-PV: 939911
SGI-Modid: xfs-linux-melb:xfs-kern:26096aSigned-off-by: Nathan Scott
17 Mar, 2006
1 commit
-
SGI-PV: 947038
SGI-Modid: xfs-linux-melb:xfs-kern:25474aSigned-off-by: Nathan Scott
14 Mar, 2006
1 commit
-
reduce stack use. Also re-use vattr in some places so that multiple
copies are not held on-stack.SGI-PV: 947312
SGI-Modid: xfs-linux-melb:xfs-kern:25369aSigned-off-by: Nathan Scott
11 Jan, 2006
1 commit
-
updates and only sync back to the xfs inode when nessecary
SGI-PV: 946679
SGI-Modid: xfs-linux-melb:xfs-kern:203362aSigned-off-by: Christoph Hellwig
Signed-off-by: Nathan Scott
02 Nov, 2005
2 commits
-
boilerplate.
SGI-PV: 913862
SGI-Modid: xfs-linux:xfs-kern:23903aSigned-off-by: Nathan Scott
-
filesystems to expose the filesystem stripe width in stat(2) rather than
the page cache size. This allows applications requiring high bandwidth to
easily determine the optimum I/O size for the underlying filesystem. The
default is to report the page cache size (i.e. "nolargeio").SGI-PV: 942818
SGI-Modid: xfs-linux:xfs-kern:23830aSigned-off-by: David Chinner
Signed-off-by: Nathan Scott
05 Sep, 2005
1 commit
-
SGI-PV: 940531
SGI-Modid: xfs-linux:xfs-kern:196888aSigned-off-by: Christoph Hellwig
Signed-off-by: Nathan Scott
02 Sep, 2005
4 commits
-
time
SGI-PV: 934766
SGI-Modid: xfs-linux:xfs-kern:196854aSigned-off-by: Christoph Hellwig
Signed-off-by: Nathan Scott -
SGI-PV: 934766
SGI-Modid: xfs-linux:xfs-kern:196852aSigned-off-by: Christoph Hellwig
Signed-off-by: Nathan Scott -
SGI-PV: 936236
SGI-Modid: xfs-linux:xfs-kern:195878aSigned-off-by: Christoph Hellwig
Signed-off-by: Nathan Scott -
SGI-PV: 938306
SGI-Modid: xfs-linux:xfs-kern:194627aSigned-off-by: Christoph Hellwig
Signed-off-by: Nathan Scott
21 Jun, 2005
1 commit
-
SGI-PV: 934679
SGI-Modid: xfs-linux:xfs-kern:192570aSigned-off-by: Christoph Hellwig
Signed-off-by: Nathan Scott
06 May, 2005
2 commits
-
SGI Modid: xfs-linux:xfs-kern:191625a
Signed-off-by: Eric Sandeen
Signed-off-by: Christoph Hellwig -
SGI Modid: xfs-linux:xfs-kern:191411a
Signed-off-by: Eric Sandeen
Signed-off-by: Christoph Hellwig
17 Apr, 2005
1 commit
-
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.Let it rip!