Re: [linux-lvm] [PATCH] [PATCH] stable-2.02 - lvresize: deny operation on swap dev without force option

2021-03-24 Thread heming.z...@suse.com
On 3/24/21 5:07 PM, Zdenek Kabelac wrote: - Original Message - From: "Zhao Heming" To: linux-lvm@redhat.com, zkabe...@redhat.com, teigl...@redhat.com Cc: "Zhao Heming" Sent: Wednesday, March 24, 2021 6:09:09 AM Subject: [PATCH] [PATCH] stable-2.02 - lvresize: deny operation on swap de

[linux-lvm] [PATCH] [PATCH] stable-2.02 - lvresize: deny operation on swap dev without force option

2021-03-24 Thread Zhao Heming
When lvmetad is active on system and some memory pages of lvmetad swapout, user may issue lvextend/lvresize on swap LV. The resize operation will suspend & resume swap device (by reload dm table). After suspended swap device, lvmetad will be in UN status for waiting swapin pages from suspended swap

Re: [linux-lvm] [PATCH] [PATCH] stable-2.02 - lvresize: deny operation on swap dev without force option

2021-03-24 Thread Zdenek Kabelac
- Original Message - From: "Zhao Heming" To: linux-lvm@redhat.com, zkabe...@redhat.com, teigl...@redhat.com Cc: "Zhao Heming" Sent: Wednesday, March 24, 2021 6:09:09 AM Subject: [PATCH] [PATCH] stable-2.02 - lvresize: deny operation on swap dev without force option When lvmetad is ac