Hi Coly! > This patch improves discard bio split for address and size alignment > in __blkdev_issue_discard(). The aligned discard bio may help > underlying device controller to perform better discard and internal > garbage collection, and avoid unnecessary internal fragment. If the aim is to guarantee that all discard requests, except for head and tail, are aligned multiples of the discard_granularity, you also need to take the discard_alignment queue limit and the partition offset into consideration. -- Martin K. Petersen Oracle Linux Engineering