~ubuntu-branches/ubuntu/quantal/linux-ti-omap4/quantal-proposed

« back to all changes in this revision

Viewing changes to drivers/md/dm-thin.c

  • Committer: Package Import Robot
  • Author(s): Brad Figg, Brad Figg
  • Date: 2013-06-08 09:09:23 UTC
  • Revision ID: package-import@ubuntu.com-20130608090923-ibtnp6edtrn3sxik
Tags: 3.5.0-226.39
[ Brad Figg ]

UBUNTU: Fixup missing abi files causing FTBS

Show diffs side-by-side

added added

removed removed

Lines of Context:
2035
2035
                 * thin devices' discard limits consistent).
2036
2036
                 */
2037
2037
                ti->discards_supported = 1;
 
2038
                ti->discard_zeroes_data_unsupported = 1;
2038
2039
        }
2039
2040
        ti->private = pt;
2040
2041
 
2496
2497
         * bios that overlap 2 blocks.
2497
2498
         */
2498
2499
        limits->discard_granularity = pool->sectors_per_block << SECTOR_SHIFT;
2499
 
        limits->discard_zeroes_data = pool->pf.zero_new_blocks;
2500
2500
}
2501
2501
 
2502
2502
static void pool_io_hints(struct dm_target *ti, struct queue_limits *limits)