diff options
author | Mingming Cao <cmm@us.ibm.com> | 2008-01-28 23:58:27 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-01-28 23:58:27 -0500 |
commit | db857da3369cd4eb6a28be1cce89d33162caa4a0 (patch) | |
tree | 08dcac7ef1db552a771df1a9dd12c13ca70224b0 /fs/cifs/connect.c | |
parent | 77160957e29e9413f7420e85fca37a47d4ffac7f (diff) | |
download | talos-op-linux-db857da3369cd4eb6a28be1cce89d33162caa4a0.tar.gz talos-op-linux-db857da3369cd4eb6a28be1cce89d33162caa4a0.zip |
jbd2: Use round-jiffies() function for the "5 second" ext4/jbd2 wakeup
While "every 5 seconds" doesn't sound as a problem, there can be many
of these (and these timers do add up over all the kernel). The "5
second" wakeup isn't really timing sensitive; in addition even with
rounding it'll still happen every 5 seconds (with the exception of the
very first time, which is likely to be rounded up to somewhere closer
to 6 seconds)
(Ported from similar JBD patch made by Arjan van de Ven to
fs/jbd/transaction.c)
Cc: Arjan van de Ven <arjan@linux.intel.com>
Cc: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/cifs/connect.c')
0 files changed, 0 insertions, 0 deletions