Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block

* 'for-linus' of git://git.kernel.dk/linux-2.6-block:
block: Allow changing max_sectors_kb above the default 512

+1 -1
+1 -1
block/blk-sysfs.c
··· 133 133 return -EINVAL; 134 134 135 135 spin_lock_irq(q->queue_lock); 136 - blk_queue_max_sectors(q, max_sectors_kb << 1); 136 + q->limits.max_sectors = max_sectors_kb << 1; 137 137 spin_unlock_irq(q->queue_lock); 138 138 139 139 return ret;