Changes from v3:

 - Fix the return value from fstrim_limits function.

Changes from v2:

 - Moves ioctl support into libntfs-3g (thanks to Jean-Pierre André). 

 - This now assumes ioctl support in fuse-lite, and so requires a
   non-upstream patch from Jean-Pierre André (or you can use
   ./configure --with-fuse=external).

 - Now reads /sys/block/<dev>/queue/discard_granularity and
   /sys/block/<dev>/queue/discard_max_bytes and tries not to make
   discard requests which would exceed these limits.

 - I rewrote the loop which iterates over the bitmap to make it a bit
   clearer.

Rich.


------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
ntfs-3g-devel mailing list
ntfs-3g-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel

Reply via email to