summaryrefslogtreecommitdiffstats
path: root/fs/jfs
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-10-13 10:23:15 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-10-13 10:23:15 -0400
commitfaafcba3b5e15999cf75d5c5a513ac8e47e2545f (patch)
tree47d58d1c00e650e820506c91eb9a41268756bdda /fs/jfs
parent13ead805c5a14b0e7ecd34f61404a5bfba655895 (diff)
parentf10e00f4bf360c36edbe6bf18a6c75b171cbe012 (diff)
Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull scheduler updates from Ingo Molnar: "The main changes in this cycle were: - Optimized support for Intel "Cluster-on-Die" (CoD) topologies (Dave Hansen) - Various sched/idle refinements for better idle handling (Nicolas Pitre, Daniel Lezcano, Chuansheng Liu, Vincent Guittot) - sched/numa updates and optimizations (Rik van Riel) - sysbench speedup (Vincent Guittot) - capacity calculation cleanups/refactoring (Vincent Guittot) - Various cleanups to thread group iteration (Oleg Nesterov) - Double-rq-lock removal optimization and various refactorings (Kirill Tkhai) - various sched/deadline fixes ... and lots of other changes" * 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (72 commits) sched/dl: Use dl_bw_of() under rcu_read_lock_sched() sched/fair: Delete resched_cpu() from idle_balance() sched, time: Fix build error with 64 bit cputime_t on 32 bit systems sched: Improve sysbench performance by fixing spurious active migration sched/x86: Fix up typo in topology detection x86, sched: Add new topology for multi-NUMA-node CPUs sched/rt: Use resched_curr() in task_tick_rt() sched: Use rq->rd in sched_setaffinity() under RCU read lock sched: cleanup: Rename 'out_unlock' to 'out_free_new_mask' sched: Use dl_bw_of() under RCU read lock sched/fair: Remove duplicate code from can_migrate_task() sched, mips, ia64: Remove __ARCH_WANT_UNLOCKED_CTXSW sched: print_rq(): Don't use tasklist_lock sched: normalize_rt_tasks(): Don't use _irqsave for tasklist_lock, use task_rq_lock() sched: Fix the task-group check in tg_has_rt_tasks() sched/fair: Leverage the idle state info when choosing the "idlest" cpu sched: Let the scheduler see CPU idle states sched/deadline: Fix inter- exclusive cpusets migrations sched/deadline: Clear dl_entity params when setscheduling to different class sched/numa: Kill the wrong/dead TASK_DEAD check in task_numa_fault() ...
Diffstat (limited to 'fs/jfs')
-rw-r--r--fs/jfs/jfs_logmgr.c2
-rw-r--r--fs/jfs/jfs_txnmgr.c3
2 files changed, 0 insertions, 5 deletions
diff --git a/fs/jfs/jfs_logmgr.c b/fs/jfs/jfs_logmgr.c
index 0acddf60af55..bc462dcd7a40 100644
--- a/fs/jfs/jfs_logmgr.c
+++ b/fs/jfs/jfs_logmgr.c
@@ -1585,7 +1585,6 @@ void jfs_flush_journal(struct jfs_log *log, int wait)
1585 set_current_state(TASK_UNINTERRUPTIBLE); 1585 set_current_state(TASK_UNINTERRUPTIBLE);
1586 LOGGC_UNLOCK(log); 1586 LOGGC_UNLOCK(log);
1587 schedule(); 1587 schedule();
1588 __set_current_state(TASK_RUNNING);
1589 LOGGC_LOCK(log); 1588 LOGGC_LOCK(log);
1590 remove_wait_queue(&target->gcwait, &__wait); 1589 remove_wait_queue(&target->gcwait, &__wait);
1591 } 1590 }
@@ -2359,7 +2358,6 @@ int jfsIOWait(void *arg)
2359 set_current_state(TASK_INTERRUPTIBLE); 2358 set_current_state(TASK_INTERRUPTIBLE);
2360 spin_unlock_irq(&log_redrive_lock); 2359 spin_unlock_irq(&log_redrive_lock);
2361 schedule(); 2360 schedule();
2362 __set_current_state(TASK_RUNNING);
2363 } 2361 }
2364 } while (!kthread_should_stop()); 2362 } while (!kthread_should_stop());
2365 2363
diff --git a/fs/jfs/jfs_txnmgr.c b/fs/jfs/jfs_txnmgr.c
index 564c4f279ac6..d595856453b2 100644
--- a/fs/jfs/jfs_txnmgr.c
+++ b/fs/jfs/jfs_txnmgr.c
@@ -136,7 +136,6 @@ static inline void TXN_SLEEP_DROP_LOCK(wait_queue_head_t * event)
136 set_current_state(TASK_UNINTERRUPTIBLE); 136 set_current_state(TASK_UNINTERRUPTIBLE);
137 TXN_UNLOCK(); 137 TXN_UNLOCK();
138 io_schedule(); 138 io_schedule();
139 __set_current_state(TASK_RUNNING);
140 remove_wait_queue(event, &wait); 139 remove_wait_queue(event, &wait);
141} 140}
142 141
@@ -2808,7 +2807,6 @@ int jfs_lazycommit(void *arg)
2808 set_current_state(TASK_INTERRUPTIBLE); 2807 set_current_state(TASK_INTERRUPTIBLE);
2809 LAZY_UNLOCK(flags); 2808 LAZY_UNLOCK(flags);
2810 schedule(); 2809 schedule();
2811 __set_current_state(TASK_RUNNING);
2812 remove_wait_queue(&jfs_commit_thread_wait, &wq); 2810 remove_wait_queue(&jfs_commit_thread_wait, &wq);
2813 } 2811 }
2814 } while (!kthread_should_stop()); 2812 } while (!kthread_should_stop());
@@ -2996,7 +2994,6 @@ int jfs_sync(void *arg)
2996 set_current_state(TASK_INTERRUPTIBLE); 2994 set_current_state(TASK_INTERRUPTIBLE);
2997 TXN_UNLOCK(); 2995 TXN_UNLOCK();
2998 schedule(); 2996 schedule();
2999 __set_current_state(TASK_RUNNING);
3000 } 2997 }
3001 } while (!kthread_should_stop()); 2998 } while (!kthread_should_stop());
3002 2999