diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-28 18:23:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-28 18:23:52 -0400 |
commit | f21ce8f8447c8be8847dadcfdbcc76b0d7365fa5 (patch) | |
tree | fb51d60060453aef9e776c7d3a31588609d34d76 /fs/xfs/xfs_inode.h | |
parent | 0c9aac08261512d70d7d4817bd222abca8b6bdd6 (diff) | |
parent | 5a5881cdeec2c019b5c9a307800218ee029f7f61 (diff) |
Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs
Pull XFS update (part 2) from Ben Myers:
"Fixes for tracing of xfs_name strings, flag handling in
open_by_handle, a log space hang with freeze/unfreeze, fstrim offset
calculations, a section mismatch with xfs_qm_exit, an oops in
xlog_recover_process_iunlinks, and a deadlock in xfs_rtfree_extent.
There are also additional trace points for attributes, and the
addition of a workqueue for allocation to work around kernel stack
size limitations."
* 'for-linus' of git://oss.sgi.com/xfs/xfs:
xfs: add lots of attribute trace points
xfs: Fix oops on IO error during xlog_recover_process_iunlinks()
xfs: fix fstrim offset calculations
xfs: Account log unmount transaction correctly
xfs: don't cache inodes read through bulkstat
xfs: trace xfs_name strings correctly
xfs: introduce an allocation workqueue
xfs: Fix open flag handling in open_by_handle code
xfs: fix deadlock in xfs_rtfree_extent
fs: xfs: fix section mismatch in linux-next
Diffstat (limited to 'fs/xfs/xfs_inode.h')
-rw-r--r-- | fs/xfs/xfs_inode.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/xfs/xfs_inode.h b/fs/xfs/xfs_inode.h index f123dbe6d42a..7fee3387e1c8 100644 --- a/fs/xfs/xfs_inode.h +++ b/fs/xfs/xfs_inode.h | |||
@@ -387,10 +387,11 @@ xfs_set_projid(struct xfs_inode *ip, | |||
387 | #define XFS_IFLOCK (1 << __XFS_IFLOCK_BIT) | 387 | #define XFS_IFLOCK (1 << __XFS_IFLOCK_BIT) |
388 | #define __XFS_IPINNED_BIT 8 /* wakeup key for zero pin count */ | 388 | #define __XFS_IPINNED_BIT 8 /* wakeup key for zero pin count */ |
389 | #define XFS_IPINNED (1 << __XFS_IPINNED_BIT) | 389 | #define XFS_IPINNED (1 << __XFS_IPINNED_BIT) |
390 | #define XFS_IDONTCACHE (1 << 9) /* don't cache the inode long term */ | ||
390 | 391 | ||
391 | /* | 392 | /* |
392 | * Per-lifetime flags need to be reset when re-using a reclaimable inode during | 393 | * Per-lifetime flags need to be reset when re-using a reclaimable inode during |
393 | * inode lookup. Thi prevents unintended behaviour on the new inode from | 394 | * inode lookup. This prevents unintended behaviour on the new inode from |
394 | * ocurring. | 395 | * ocurring. |
395 | */ | 396 | */ |
396 | #define XFS_IRECLAIM_RESET_FLAGS \ | 397 | #define XFS_IRECLAIM_RESET_FLAGS \ |
@@ -553,6 +554,7 @@ do { \ | |||
553 | */ | 554 | */ |
554 | #define XFS_IGET_CREATE 0x1 | 555 | #define XFS_IGET_CREATE 0x1 |
555 | #define XFS_IGET_UNTRUSTED 0x2 | 556 | #define XFS_IGET_UNTRUSTED 0x2 |
557 | #define XFS_IGET_DONTCACHE 0x4 | ||
556 | 558 | ||
557 | int xfs_inotobp(struct xfs_mount *, struct xfs_trans *, | 559 | int xfs_inotobp(struct xfs_mount *, struct xfs_trans *, |
558 | xfs_ino_t, struct xfs_dinode **, | 560 | xfs_ino_t, struct xfs_dinode **, |