On Mon, Jun 15, 2015 at 2:41 PM, wrote:
> From: Jeff Mahoney
>
> It's possible, though unexpected, to pass unaligned offsets and lengths
> to btrfs_issue_discard. We then shift the offset/length values to sector
> units. If an unaligned offset has been passed, it will result in the
> entire se
From: Jeff Mahoney
It's possible, though unexpected, to pass unaligned offsets and lengths
to btrfs_issue_discard. We then shift the offset/length values to sector
units. If an unaligned offset has been passed, it will result in the
entire sector being discarded, possibly losing data. An unali