lkml.org 
[lkml]   [2022]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/2] mm/swapfile: release swap info when swap device is unpluged
Date
This series patch try to fix the problem that the resources
corresponding to swap are not effectively released when
the swap partition disk is hot-pluged.

1/2: Extract operations of resource release in the swapoff process.
2/2: release swap info when swap device is unpluged

This is a second version, which addressed some comments:
1. turn first patch into a two patch series. The first does the
code movement with no functional changes and the second does
the actual fix.

---
For v1, see: https://lore.kernel.org/linux-mm/20220528084941.28391-1-liubo254@huawei.com/
---

liubo (2):
mm/swapfile: Extract operations of resource release in the swapoff
process
mm/swapfile: release swap info when swap device is unpluged

mm/swapfile.c | 261 +++++++++++++++++++++++++++++++++++---------------
1 file changed, 183 insertions(+), 78 deletions(-)

--
2.27.0

\
 
 \ /
  Last update: 2022-06-15 09:04    [W:0.064 / U:0.724 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site