tmp_suning_uos_patched/fs/xfs
Yingping Lu 9fa8046f50 [XFS] Fixing the error caused by the conflict between DIO Write's
conversion and concurrent truncate operations. Use vn_iowait to wait for
the completion of any pending DIOs. Since the truncate requires exclusive
IOLOCK, so this blocks any further DIO operations since DIO write also
needs exclusive IOBLOCK. This serves as a barrier and prevent any
potential starvation.

SGI-PV: 947420
SGI-Modid: xfs-linux-melb:xfs-kern:208088a

Signed-off-by: Yingping Lu <yingping@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
2006-03-22 12:44:35 +11:00
..
linux-2.6 [XFS] Fixing KDB's xrwtrc command, also added the current process id into 2006-03-22 12:44:15 +11:00
quota [XFS] 929045 567344 This mod re-organizes some of the in-core file extent 2006-03-14 13:29:52 +11:00
support [XFS] UUID endianess fix. uu_timelow is a 32bit field and needs to be 2006-03-14 13:24:46 +11:00
Kbuild
Kconfig
Makefile
Makefile-linux-2.6
xfs_acl.c
xfs_acl.h
xfs_ag.h
xfs_alloc_btree.c
xfs_alloc_btree.h
xfs_alloc.c
xfs_alloc.h
xfs_arch.h
xfs_attr_leaf.c [XFS] endianess annotations for xfs_da_node_hdr_t 2006-03-17 17:29:56 +11:00
xfs_attr_leaf.h [XFS] endianess annotations for xfs_attr_leaf_name_remote_t 2006-03-17 17:29:18 +11:00
xfs_attr_sf.h [XFS] endianess annotations for xfs_attr_shortform_t 2006-03-17 17:29:25 +11:00
xfs_attr.c [XFS] endianess annotations for xfs_da_node_hdr_t 2006-03-17 17:29:56 +11:00
xfs_attr.h
xfs_behavior.c
xfs_behavior.h
xfs_bit.c
xfs_bit.h
xfs_bmap_btree.c [XFS] 929045 567344 This mod re-organizes some of the in-core file extent 2006-03-14 13:29:52 +11:00
xfs_bmap_btree.h [XFS] 929045 567344 This mod introduces multi-level in-core file extent 2006-03-14 13:30:23 +11:00
xfs_bmap.c [XFS] There are a few problems with the new 2006-03-17 17:25:04 +11:00
xfs_bmap.h [XFS] 929045 567344 This mod introduces multi-level in-core file extent 2006-03-14 13:30:23 +11:00
xfs_btree.c
xfs_btree.h
xfs_buf_item.c
xfs_buf_item.h
xfs_cap.h
xfs_clnt.h
xfs_da_btree.c [XFS] endianess annotations for xfs_da_node_hdr_t 2006-03-17 17:29:56 +11:00
xfs_da_btree.h [XFS] endianess annotations for xfs_da_node_hdr_t 2006-03-17 17:29:56 +11:00
xfs_dfrag.c [XFS] Complete transition away from linvfs naming convention, finally. 2006-03-17 17:25:36 +11:00
xfs_dfrag.h
xfs_dinode.h
xfs_dir2_block.c [XFS] remove bogus INT_GET on u8 variables in xfs_dir2_block.c 2006-03-17 17:28:47 +11:00
xfs_dir2_block.h [XFS] endianess annotations for xfs_dir2_block_tail_t 2006-03-17 17:27:56 +11:00
xfs_dir2_data.c [XFS] endianess annotations for XFS_DIR2_DATA_ENTRY_TAG_P 2006-03-17 17:28:27 +11:00
xfs_dir2_data.h [XFS] endianess annotations for XFS_DIR2_DATA_ENTRY_TAG_P 2006-03-17 17:28:27 +11:00
xfs_dir2_leaf.c [XFS] endianess annotations for xfs_da_blkinfo_t 2006-03-17 17:28:40 +11:00
xfs_dir2_leaf.h [XFS] endianess annotations for xfs_dir2_leaf_entry_t 2006-03-17 17:28:18 +11:00
xfs_dir2_node.c [XFS] endianess annotations for xfs_da_blkinfo_t 2006-03-17 17:28:40 +11:00
xfs_dir2_node.h [XFS] endianess annotations for xfs_dir2_free_hdr_t 2006-03-17 17:27:07 +11:00
xfs_dir2_sf.c [XFS] endianess annotations for xfs_dir2_leaf_entry_t 2006-03-17 17:28:18 +11:00
xfs_dir2_sf.h
xfs_dir2_trace.c
xfs_dir2_trace.h
xfs_dir2.c
xfs_dir2.h [XFS] Make headers compile for more compiler variants; minor cleanup. 2006-03-14 13:20:33 +11:00
xfs_dir_leaf.c [XFS] remove bogus INT_GET for u8 variables in xfs_dir_leaf.c 2006-03-17 17:30:01 +11:00
xfs_dir_leaf.h
xfs_dir_sf.h [XFS] Make headers compile for more compiler variants; minor cleanup. 2006-03-14 13:20:33 +11:00
xfs_dir.c [XFS] endianess annotations for xfs_da_node_hdr_t 2006-03-17 17:29:56 +11:00
xfs_dir.h
xfs_dmapi.h
xfs_dmops.c
xfs_error.c
xfs_error.h
xfs_extfree_item.c
xfs_extfree_item.h
xfs_fs.h
xfs_fsops.c [XFS] On machines with more than 8 cpus, when running parallel I/O 2006-03-14 13:13:09 +11:00
xfs_fsops.h
xfs_ialloc_btree.c
xfs_ialloc_btree.h
xfs_ialloc.c [XFS] Dynamically allocate the xfs_dinode_core_t structure to reduce our 2006-03-14 14:07:36 +11:00
xfs_ialloc.h
xfs_iget.c [XFS] Complete transition away from linvfs naming convention, finally. 2006-03-17 17:25:36 +11:00
xfs_imap.h
xfs_inode_item.c
xfs_inode_item.h
xfs_inode.c [XFS] Fixing the error caused by the conflict between DIO Write's 2006-03-22 12:44:35 +11:00
xfs_inode.h [XFS] Fix an infinite loop issue in bulkstat when a corrupt inode is 2006-03-17 17:26:04 +11:00
xfs_inum.h
xfs_iocore.c
xfs_iomap.c [XFS] Fixing KDB's xrwtrc command, also added the current process id into 2006-03-22 12:44:15 +11:00
xfs_iomap.h
xfs_itable.c [XFS] Fix an infinite loop issue in bulkstat when a corrupt inode is 2006-03-17 17:26:04 +11:00
xfs_itable.h
xfs_log_priv.h
xfs_log_recover.c [XFS] Fix an infinite loop issue in bulkstat when a corrupt inode is 2006-03-17 17:26:04 +11:00
xfs_log_recover.h
xfs_log.c
xfs_log.h
xfs_mac.h
xfs_mount.c [XFS] Additional mount time superblock validation checks. 2006-03-14 13:29:32 +11:00
xfs_mount.h [XFS] Remove a couple of no-longer-used macros/types from XFS. 2006-03-14 13:47:32 +11:00
xfs_qmops.c
xfs_quota.h
xfs_refcache.h
xfs_rename.c
xfs_rtalloc.c
xfs_rtalloc.h
xfs_rw.c
xfs_rw.h
xfs_sb.h
xfs_trans_ail.c
xfs_trans_buf.c
xfs_trans_extfree.c
xfs_trans_inode.c
xfs_trans_item.c
xfs_trans_priv.h
xfs_trans_space.h
xfs_trans.c [XFS] Correct the dquot reservation component for the link transation. 2006-03-17 17:25:46 +11:00
xfs_trans.h [XFS] Cleanup the use of zones/slabs, more consistent and allows flags to 2006-03-14 13:18:19 +11:00
xfs_types.h
xfs_utils.c
xfs_utils.h
xfs_vfsops.c [XFS] Fix an infinite loop issue in bulkstat when a corrupt inode is 2006-03-17 17:26:04 +11:00
xfs_vnodeops.c [XFS] Fixing the error caused by the conflict between DIO Write's 2006-03-22 12:44:35 +11:00
xfs.h