Re: dm-bufio

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

 



On Fri, Mar 23, 2012 at 1:10 PM, Zdenek Kabelac <zkabelac@xxxxxxxxxx> wrote:
> Dne 23.3.2012 12:01, Kasatkin, Dmitry napsal(a):
>> Hello,
>>
>> When using dm-bufio and dm-io in general, how to ensure that all dirty
>> buffers are written to the storage when machine reboots?
>> suspend hooks could be used, but they are not called on reboot, only
>> when suspending/removing the target...
>>
>
> You mean you reboot without running  'sync' command?
>
> And yes - on reboot you should properly unmount devices - so you should
> see removal of target on your shutdown sequence -  I believe Fedora currently
> tries to support switch to some shutdown ramdisk, so all filesystem and
> devices might be properly unmounted and destroyed.
>

Hello,

Thanks for response.
I use bufio to store some data on block device.
It is not mounted in anyway. My target just use it to load/store data.
When machine reboots, I want to be sure that bufio written all dirty buffers...

- Dmitry


> Zdenek
>
>

--
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