Commits
Igor Sukhih authored a32770b95be
ploop shrink: discard balloon blocks directly #PSBM-94855 On ploop with native discard supported, we punch holes in a file directly from kernel. So, we won't get free blocks related to balloon in userspace. It looks like, on online shrink we should do the following in userspace: 1)get balloon extents via fiemap; 2)issue blkdev discard into such the blocks [fe_physical, fe_physical+fe_length] aligned to cluster size (start -- aligned up, end -- aligned down). Signed-off-by: Igor Sukhih <igor@virtuozzo.com>