Re: [dm-devel] [PATCH] deadlock with suspend and quotas

From: Alasdair G Kergon
Date: Tue Nov 29 2011 - 08:18:46 EST


On Tue, Nov 29, 2011 at 02:09:13PM +0100, Jan Kara wrote:
> Hmm, then why do these operations suspend the filesystem if they
> apparently don't need it? Sorry for my ignorance, I never seriously worked
> with LVM code...

They don't suspend it if they don't need to.

dm-ioctl.h:
/*
* Set this to avoid attempting to freeze any filesystem when suspending.
*/
#define DM_SKIP_LOCKFS_FLAG (1 << 10) /* In */

Alasdair

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/