1
linux/fs/xfs
Christoph Lameter 3e1d1d28d9 [PATCH] Cleanup patch for process freezing
1. Establish a simple API for process freezing defined in linux/include/sched.h:

   frozen(process)		Check for frozen process
   freezing(process)		Check if a process is being frozen
   freeze(process)		Tell a process to freeze (go to refrigerator)
   thaw_process(process)	Restart process
   frozen_process(process)	Process is frozen now

2. Remove all references to PF_FREEZE and PF_FROZEN from all
   kernel sources except sched.h

3. Fix numerous locations where try_to_freeze is manually done by a driver

4. Remove the argument that is no longer necessary from two function calls.

5. Some whitespace cleanup

6. Clear potential race in refrigerator (provides an open window of PF_FREEZE
   cleared before setting PF_FROZEN, recalc_sigpending does not check
   PF_FROZEN).

This patch does not address the problem of freeze_processes() violating the rule
that a task may only modify its own flags by setting PF_FREEZE. This is not clean
in an SMP environment. freeze(process) is therefore not SMP safe!

Signed-off-by: Christoph Lameter <christoph@lameter.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-25 17:10:13 -07:00
..
linux-2.6 [PATCH] Cleanup patch for process freezing 2005-06-25 17:10:13 -07:00
quota [XFS] Remove some debugging code from quota syscalls. 2005-06-21 15:57:57 +10:00
support [XFS] simplify ASSERT 2005-06-21 15:43:22 +10:00
Kconfig
Makefile
xfs_acl.c
xfs_acl.h
xfs_ag.h
xfs_alloc_btree.c
xfs_alloc_btree.h
xfs_alloc.c [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_alloc.h
xfs_arch.h
xfs_attr_leaf.c [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_attr_leaf.h [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_attr_sf.h
xfs_attr.c [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_attr.h [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_behavior.c
xfs_behavior.h
xfs_bit.c [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_bit.h
xfs_bmap_btree.c [XFS] Remove dead code. Patch from Adrian Bunk 2005-06-21 15:36:00 +10:00
xfs_bmap_btree.h [XFS] Remove dead code. Patch from Adrian Bunk 2005-06-21 15:36:00 +10:00
xfs_bmap.c [XFS] Merge fixes into realtime quota code, since one/two reported, still 2005-06-21 15:48:47 +10:00
xfs_bmap.h [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_btree.c [XFS] Fix up some warning fallout from functions made static 2005-06-21 15:39:44 +10:00
xfs_btree.h [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_buf_item.c [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_buf_item.h [XFS] Add support for project quota, based on Dan Knappes earlier work. 2005-06-21 15:38:48 +10:00
xfs_cap.h
xfs_clnt.h
xfs_da_btree.c [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_da_btree.h [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_dfrag.c [XFS] (mostly) remove xfs_inval_cached_pages Since the last round of 2005-06-21 15:47:39 +10:00
xfs_dfrag.h
xfs_dinode.h
xfs_dir2_block.c
xfs_dir2_block.h
xfs_dir2_data.c [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_dir2_data.h [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_dir2_leaf.c [XFS] Fix up some warning fallout from functions made static 2005-06-21 15:39:44 +10:00
xfs_dir2_leaf.h [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_dir2_node.c
xfs_dir2_node.h
xfs_dir2_sf.c
xfs_dir2_sf.h
xfs_dir2_trace.c
xfs_dir2_trace.h
xfs_dir2.c
xfs_dir2.h
xfs_dir_leaf.c [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_dir_leaf.h [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_dir_sf.h
xfs_dir.c
xfs_dir.h
xfs_dmapi.h [XFS] Handle inode semaphores properly for dmapi queues 2005-06-22 10:20:44 +10:00
xfs_dmops.c
xfs_error.c [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_error.h [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_extfree_item.c [XFS] consolidate extent item freeing 2005-06-21 15:41:19 +10:00
xfs_extfree_item.h [XFS] consolidate extent item freeing 2005-06-21 15:41:19 +10:00
xfs_fs.h [XFS] Makes more sense to use the fsxattr interface instead of adding new 2005-06-21 15:48:04 +10:00
xfs_fsops.c [XFS] Remove dead code. Patch from Adrian Bunk 2005-06-21 15:36:00 +10:00
xfs_fsops.h
xfs_ialloc_btree.c
xfs_ialloc_btree.h [XFS] add XFS_INOBT_IS_FREE_DISK 2005-06-21 15:40:20 +10:00
xfs_ialloc.c
xfs_ialloc.h
xfs_iget.c
xfs_imap.h
xfs_inode_item.c [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_inode_item.h
xfs_inode.c [XFS] Add support for project quota inheritance, a merge of Glens changes. 2005-06-21 15:39:12 +10:00
xfs_inode.h [XFS] rewrite xfs_iflush_all 2005-06-21 15:37:17 +10:00
xfs_inum.h
xfs_iocore.c
xfs_iomap.c [XFS] Merge fixes into realtime quota code, since one/two reported, still 2005-06-21 15:48:47 +10:00
xfs_iomap.h [XFS] Cleanup use of loff_t vs xfs_off_t in the core code. 2005-05-05 13:33:40 -07:00
xfs_itable.c
xfs_itable.h
xfs_log_priv.h [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_log_recover.c [XFS] consolidate extent item freeing 2005-06-21 15:41:19 +10:00
xfs_log_recover.h
xfs_log.c [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_log.h
xfs_mac.h
xfs_macros.c [XFS] add XFS_INOBT_IS_FREE_DISK 2005-06-21 15:40:20 +10:00
xfs_macros.h
xfs_mount.c [XFS] remove xfs_incore_relse 2005-06-21 15:38:03 +10:00
xfs_mount.h [XFS] Add support for project quota, based on Dan Knappes earlier work. 2005-06-21 15:38:48 +10:00
xfs_qmops.c
xfs_quota.h [XFS] Merge fixes into realtime quota code, since one/two reported, still 2005-06-21 15:48:47 +10:00
xfs_refcache.h
xfs_rename.c [XFS] Remove dead code. Patch from Adrian Bunk 2005-06-21 15:36:00 +10:00
xfs_rtalloc.c
xfs_rtalloc.h
xfs_rw.c
xfs_rw.h
xfs_sb.h
xfs_trans_ail.c
xfs_trans_buf.c [XFS] Add support for project quota, based on Dan Knappes earlier work. 2005-06-21 15:38:48 +10:00
xfs_trans_extfree.c
xfs_trans_inode.c [XFS] Remove dead code. Patch from Adrian Bunk 2005-06-21 15:36:00 +10:00
xfs_trans_item.c
xfs_trans_priv.h
xfs_trans_space.h
xfs_trans.c [XFS] mark various symbols static Patch from Adrian Bunk 2005-06-21 15:36:52 +10:00
xfs_trans.h [XFS] Remove dead code. Patch from Adrian Bunk 2005-06-21 15:36:00 +10:00
xfs_types.h [XFS] Add a get/set interface for XFS project identifiers. 2005-06-21 13:21:49 +10:00
xfs_utils.c [XFS] Add support for project quota, based on Dan Knappes earlier work. 2005-06-21 15:38:48 +10:00
xfs_utils.h
xfs_vfsops.c [XFS] quiesce the filesystem proper when freezing 2005-06-21 15:40:48 +10:00
xfs_vnodeops.c [XFS] Merge fixes into realtime quota code, since one/two reported, still 2005-06-21 15:48:47 +10:00
xfs.h