On Wed, 26 Sep 2012, Kay Sievers wrote: > Date: Wed, 26 Sep 2012 22:04:37 +0200 > From: Kay Sievers <kay@xxxxxxxx> > To: Lukáš Czerner <lczerner@xxxxxxxxxx> > Cc: util-linux@xxxxxxxxxxxxxxx, kzak@xxxxxxxxxx > Subject: Re: [PATCH] blkdiscard: add new command > > On Wed, Sep 26, 2012 at 9:47 PM, Lukáš Czerner <lczerner@xxxxxxxxxx> wrote: > > On Wed, 12 Sep 2012, Lukas Czerner wrote: > > > >> Date: Wed, 12 Sep 2012 17:49:15 -0400 > >> From: Lukas Czerner <lczerner@xxxxxxxxxx> > >> To: util-linux@xxxxxxxxxxxxxxx, kzak@xxxxxxxxxx > >> Cc: Lukas Czerner <lczerner@xxxxxxxxxx> > >> Subject: [PATCH] blkdiscard: add new command > >> > >> blkdiscard is used to discard device sectors. This is useful for > >> solid-state drivers (SSDs) and thinly-provisioned storage. Unlike > >> fstrim this command is used directly on the block device. > >> > >> blkkdiscard uses BLKDISCARD ioctl or BLKSECDISCARD ioctl for the secure > >> discard. > >> > >> All data in the discarded region on the device will be lost! > > > > Hi Karel, > > > > any progress here ? > > Where is the patch for blockdev? There is not. > > I'm still convinced randomly named tools per new kernel ioctl is not > what we want. People should get their act together, and not add the > tool of the week to util-linux. And I am still convinced that multiplexing different functionalities together into a single tool is not always the best way to go, especially when they does not have nothing in common. Thanks! -Lukas > > Thanks, > Kay >