63fe58e0de70e92ca2ecdf92e01490cad45b124b
Right now devicemapper mounts thin device using online discards by default and passes mount option "discard". Generally people discourage usage of online discards as they can be a drain on performance. Instead it is recommended to use fstrim once in a while to reclaim the space. In case of containers, we recommend to keep data volumes separate. So there might not be lot of rm, unlink operations going on and there might not be lot of space being freed by containers. So it might not matter much if we don't reclaim that free space in pool. User can still pass mount option explicitly using dm.mountopt=discard to enable discards if they would like to. So this is more like setting the containers by default for better performance instead of better space efficiency in pool. And user can change the behavior if they don't like default behavior. Reported-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Upstream-commit: 04adaaf1ee1688ff48cb8f541dcb80e965f45080 Component: engine
Description
No description provided
Languages
Go
92%
Shell
5.5%
Dockerfile
1.1%
Go-Checksums
0.9%
Makefile
0.3%
Other
0.2%