[RFC PATCH 00/02] swap: allowing a more flexible DISCARD policy

2013-05-20 Thread Rafael Aquini
Howdy folks, While working on a backport for the following changes: 3399446 swap: discard while swapping only if SWAP_FLAG_DISCARD 052b198 swap: don't do discard if no discard option added We found ourselves around an interesting discussion on how limiting the behavior with regard to

[RFC PATCH 00/02] swap: allowing a more flexible DISCARD policy

2013-05-20 Thread Rafael Aquini
Howdy folks, While working on a backport for the following changes: 3399446 swap: discard while swapping only if SWAP_FLAG_DISCARD 052b198 swap: don't do discard if no discard option added We found ourselves around an interesting discussion on how limiting the behavior with regard to