You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[PATCH] device-mapper: make lock_fs optional
Devices only needs syncing when creating snapshots, so make this optional when suspending a device. Signed-off-by: Alasdair G Kergon <agk@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
e39e2e95eb
commit
aa8d7c2fbe
+1
-1
@@ -69,7 +69,7 @@ void dm_put(struct mapped_device *md);
|
||||
/*
|
||||
* A device can still be used while suspended, but I/O is deferred.
|
||||
*/
|
||||
int dm_suspend(struct mapped_device *md);
|
||||
int dm_suspend(struct mapped_device *md, int with_lockfs);
|
||||
int dm_resume(struct mapped_device *md);
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user