Re: block discard.

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

 



On Fri, 2008-08-08 at 14:43 +0100, David Woodhouse wrote:
> Playing with the trim/punch/discard support, I tried the patch below. It
> see it getting invoked at times, but when I create a large file and then
> delete it, I don't see it getting invoked _enough_. And when I grep the
> block device for the contents of the file, they're still there.
> 
> I have a suspicion my added code is only getting invoked for
> metadata/tree extents, not the actual data extents. What'd I miss?
> 

So you mkfs ; dd large file ; rm large file ; look for discards?

Try rm large file ; sync ; sync; look for discards

-chris


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

[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux