Re: [PATCH 0/2] MMC discard support (was [PATCH 0/7] Discard requests, v2)

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

 



On Fri, Aug 22 2008, David Woodhouse wrote:
> On Fri, 2008-08-22 at 11:24 +0200, Jens Axboe wrote:
> > I agree with that, the thought did cross my mind earlier as well. I
> > committed something like the below (in two patches).
> 
> But there _are_ limits on how many sectors can be discarded in a single
> operation. For ATA 'Trim' I think it's 65536? Do we want to force the
> drivers to translate a single request into multiple actual commands?

Hmm right, I guess the sector limit in the command of course still
applies.

> I suspect we need a separate 'max_discard_sectors' field.

No, that is what max_hw_sectors is for.

-- 
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