Re: [PATCH] block: Fix discard topology stacking and reporting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2011-05-18 06:33, Martin K. Petersen wrote:
> 
> In some cases we would end up stacking discard_zeroes_data incorrectly.
> Fix this by enabling the feature by default for stacking drivers and
> clearing it for low-level drivers. Incorporating a device that does not
> support dzd will then cause the feature to be disabled in the stacking
> driver.
> 
> Also ensure that the maximum discard value does not overflow when
> exported in sysfs and return 0 in the alignment and dzd fields for
> devices that don't support discard.

Applied to for-2.6.40/core

-- 
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux