Menu

#26 [PATCH] Enable discards (TRIM)

open-accepted
None
5
2014-12-22
2012-01-18
Steven
No

In response to: https://sourceforge.net/tracker/?func=detail&aid=3460866&group_id=41452&atid=430594

This patch enables the ALLOW_DISCARDS cryptsetup flag if a volume is mounted with the discards option set. I didn't add a separate 'allow discards' configuration option as discards can be explicitly disabled by adding 'discards' to the mountoptions deny list.

While this patch compiles, it may not work as intended as I don't know how to test it (determine if cryptsetup really is allowing trim operations).

Discussion

  • Steven

    Steven - 2012-01-18

    Allow discards patch

     
  • Jan Engelhardt

    Jan Engelhardt - 2012-01-18
    • assigned_to: nobody --> jengelh
    • status: open --> open-accepted
     

Log in to post a comment.

MongoDB Logo MongoDB