Messages in this thread | | | From | Arnd Bergmann <> | Subject | Re: [PATCH v8 1/2] block: ioctl support for sanitize in eMMC 4.5 | Date | Thu, 26 Jul 2012 13:36:31 +0000 |
| |
On Wednesday 25 July 2012, Yaniv Gardi wrote: > > Adding a new ioctl to support sanitize operation in eMMC > cards version 4.5. > The sanitize ioctl support helps performing this operation > via user application. > > Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org> >
Can you explain how you expect this to be called by a file system? We've debated this in the past and concluded that we probably want to do it at the same time as batched discard, but I don't see if the sanitize request should be sent for each FITRIM or whether we should better have a separate file system level ioctl. My feeling is that it would be more useful to call this feature through a file system level ioctl than through a block level ioctl, but I guess it makes sense to support both.
Arnd
| |