[Devel] Re: [RFC][PATCH 04/36] btrfs: Add checkpoint file operations

Oren Laadan orenl at cs.columbia.edu
Mon May 4 15:18:28 PDT 2009


Serge E. Hallyn wrote:
> Quoting Matt Helsley (matthltc at us.ibm.com):
> 
> ...
> 
>> diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
>> index a7acfe6..f16be9d 100644
>> --- a/fs/btrfs/super.c
>> +++ b/fs/btrfs/super.c
>> @@ -686,6 +686,7 @@ static const struct file_operations btrfs_ctl_fops = {
>>  	.unlocked_ioctl	 = btrfs_control_ioctl,
>>  	.compat_ioctl = btrfs_control_ioctl,
>>  	.owner	 = THIS_MODULE,
>> +	.checkpoint = generic_file_checkpoint,
>>  };
> 
> Do we really want this one?

We need to checkpoint the open file regardless of whether the underlying
filesystem has snapshot capabilities.

Oren.

_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list