https://bugzilla.kernel.org/show_bug.cgi?id=200951

--- Comment #12 from vice...@gmail.com ---
As stated in the bug description, there is an udev rule to set
the provisioning_mode attribute to unmap. When searching for
this attribute name, i found this:
drivers/scsi/sd.c:749
  blk_queue_max_discard_sectors(q, ...);
  blk_queue_flag_set(QUEUE_FLAG_DISCARD, q);

So, it looks like the answer is yes, there is an interface to
turn on discard of device in real time.

Regards,
  Vicenç.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to