]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Merge remote-tracking branch 'md/for-next'
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 9 Oct 2012 01:20:29 +0000 (12:20 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 9 Oct 2012 01:20:29 +0000 (12:20 +1100)
Conflicts:
drivers/md/raid0.c
fs/bio.c

1  2 
block/blk-core.c
drivers/md/md.c
drivers/md/raid0.c

Simple merge
diff --cc drivers/md/md.c
Simple merge
index a9e4fa95dfaa76ac1d38434ac8153a6ffe1132c6,1a8e5e3692b90c43d587a0fa4080680c5c258633..24b359717a7e8917a4955e36651e6eb4009dc393
@@@ -422,7 -431,7 +431,8 @@@ static int raid0_run(struct mddev *mdde
        if (md_check_no_bitmap(mddev))
                return -EINVAL;
        blk_queue_max_hw_sectors(mddev->queue, mddev->chunk_sectors);
 +      blk_queue_max_write_same_sectors(mddev->queue, mddev->chunk_sectors);
+       blk_queue_max_discard_sectors(mddev->queue, mddev->chunk_sectors);
  
        /* if private is not null, we are here after takeover */
        if (mddev->private == NULL) {