Artem Bityutskiy 0b335b9d7d UBIFS: slightly optimize write-buffer timer usage
This patch adds the following minor optimization:

1. If write-buffer does not use the timer, indicate it with the
   wbuf->no_timer variable, instead of using the wbuf->softlimit
   variable. This is better because wbuf->softlimit is of ktime_t
   type, and the ktime_to_ns function contains 64-bit multiplication.

2. Do not call the 'hrtimer_cancel()' function for write-buffers
   which do not use timers.

3. Do not cancel the timer in 'ubifs_put_super()' because the
   synchronization function does this.

This patch also removes a confusing comment.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2009-07-05 18:45:16 +03:00
..
2009-05-29 14:38:37 +03:00
2008-12-03 13:14:33 +02:00
2008-12-31 14:13:24 +02:00
2009-03-20 19:11:12 +02:00
2009-01-26 12:54:11 +02:00
2009-03-08 13:29:09 +02:00
2009-03-20 19:12:00 +02:00
2008-12-31 14:13:25 +02:00
2009-03-20 19:11:12 +02:00
2009-03-08 13:29:41 +02:00
2009-03-20 19:11:12 +02:00
2009-01-26 12:54:11 +02:00
2009-03-20 19:11:12 +02:00
2008-12-23 12:23:40 +02:00
2008-07-15 17:35:24 +03:00
2009-01-29 16:22:54 +02:00
2008-09-30 11:12:56 +03:00
2009-05-29 14:38:37 +03:00
2009-03-20 19:11:12 +02:00
2009-03-26 16:36:20 +02:00
2008-09-30 11:12:56 +03:00
2009-02-17 12:45:22 +02:00
2008-09-30 11:12:57 +03:00
2009-03-20 19:11:12 +02:00
2009-03-26 16:36:20 +02:00