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

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

 



Serge E. Hallyn wrote:
> Quoting Matt Helsley (matthltc@xxxxxxxxxx):
> 
> ...
> 
>> 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@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux