RE: Why is device mapper unable to remove a mapped devicewhich is open?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes, I remember this coming up in discussions quite some time
ago.

Thanks! 

> -----Original Message-----
> From: dm-devel-bounces@xxxxxxxxxx 
> [mailto:dm-devel-bounces@xxxxxxxxxx] On Behalf Of Alasdair G Kergon
> Sent: Friday, September 22, 2006 4:43 PM
> To: device-mapper development
> Subject: Re:  Why is device mapper unable to remove 
> a mapped devicewhich is open?
> 
> On Fri, Sep 22, 2006 at 04:26:16PM -0400, goggin, edward wrote:
> > Why shouldn't the kernel's reference counting for the
> > mapped device's md structure account for properly 
> > handling the de-allocation of the md structure upon
> > the last close in this case?
> 
> This behaviour has flipped a couple of times during the
> development.
> 
> It would be fine if devices could never be suspended.
> You can't close a suspended device you've written to
> until it gets resumed.  If you've removed it you can't
> resume it because it has gone.
> 
> It's similar in a way to how the kernel used to (at least I 
> assume someone
> fixed it?) let you unlink a swap file and then it was impossible to
> 'swapoff' because you couldn't reference the device any more.
>  
> Alasdair
> -- 
> agk@xxxxxxxxxx
> 
> --
> dm-devel mailing list
> dm-devel@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/dm-devel
> 

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux