~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to fs/jbd/transaction.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
266
266
 * This function is visible to journal users (like ext3fs), so is not
267
267
 * called with the journal already locked.
268
268
 *
269
 
 * Return a pointer to a newly allocated handle, or NULL on failure
 
269
 * Return a pointer to a newly allocated handle, or an ERR_PTR() value
 
270
 * on failure.
270
271
 */
271
272
handle_t *journal_start(journal_t *journal, int nblocks)
272
273
{
1392
1393
         * by 30x or more...
1393
1394
         *
1394
1395
         * We try and optimize the sleep time against what the underlying disk
1395
 
         * can do, instead of having a static sleep time.  This is usefull for
 
1396
         * can do, instead of having a static sleep time.  This is useful for
1396
1397
         * the case where our storage is so fast that it is more optimal to go
1397
1398
         * ahead and force a flush and wait for the transaction to be committed
1398
1399
         * than it is to wait for an arbitrary amount of time for new writers to