Re: Freezing File Systems

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

 



That was a very nice explanation Greg, i had the concept that
we only suspend write requests during freeze. Thanks for clearing my doubt.
Rishi if you can state the purpose, why you want to freeze the file
system would be
more helpful.

On Thu, Jan 1, 2009 at 4:34 AM, Mark Brown <markb@xxxxxxxxxxxxxxxxxxxxx> wrote:
> That is most likely due to the filesystem cache. Try running iostat and
> checking the block device statistics for the device you froze!
>
> -- Mark
> On Dec 31, 2008, at 9:39 AM, rishi agrawal wrote:
>
>> I used a kernel module to freeze the file system using the function
>> freeze_bdev
>>
>> but when i am try to use touch command on the file system i am able to
>> create the files.
>>
>> even read requests are served immediately
>>
>> only the write requests are being blocked
>>
>> until i call the thaw function
>>
>> can i have an explanation for this
>>
>> On Wed, Dec 31, 2008 at 6:11 PM, ajit mote <mail2blackmen@xxxxxxxxx>
>> wrote:
>>>
>>> Hello,
>>>
>>>> I want to freeze a file system. I have seen a field in vfs superblock
>>>> s_frozen.
>>>>
>>>> But i am clue less about freezing the file system using that.
>>>
>>>
>>> freeze_bdev function ( fs/buffer.c) lock a filesystem and force it into a
>>> consistent state ...
>>> Above function use s_frozen flag to freez the file system ...
>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> Rishi B. Agrawal
>>>>
>>>> --
>>>> To unsubscribe from this list: send an email with
>>>> "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
>>>> Please read the FAQ at http://kernelnewbies.org/FAQ
>>>>
>>>
>>>
>>>
>>> --
>>> Thanks & Regards,
>>> Ajit Subhash Mote
>>>
>>>
>>
>>
>>
>> --
>> Regards,
>> Rishi B. Agrawal
>>
>> --
>> To unsubscribe from this list: send an email with
>> "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
>> Please read the FAQ at http://kernelnewbies.org/FAQ
>>
>
>
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
> Please read the FAQ at http://kernelnewbies.org/FAQ
>
>

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux