commit | 422bdb7e49b39475328f05d765b00f0ef96820b8 | [log] [tgz] |
---|---|---|
author | JP Abgrall <jpa@google.com> | Tue Jul 29 13:24:56 2014 -0700 |
committer | JP Abgrall <jpa@google.com> | Tue Jul 29 15:39:06 2014 -0700 |
tree | ced9ffbc0ee254f3f2249d19b5675491f8124f85 | |
parent | 33c29d6ede75b68f6d5211b93cb6f41795166921 [diff] |
fstrim: prep for supporting a deep trim ioctl This adds an "fstrim dodtrim" command which will attempt to use the FIDTRIM ioctl() if FIDTRIM is defined in the uapi/linux/fs.h. If not, it will fail with EINVAL. If no FIDTRIM is defined, it does not affect the "fstrim dotrim". Change-Id: Icbfd621abb592b170db06f749e5eedfd1175f723