[Devel] [PATCH vz9] fs: support syncing nested mount namespaces in CT

Nikita Yushchenko nikita.yushchenko at virtuozzo.com
Tue Nov 2 17:20:57 MSK 2021


>> +	/* For ve-local sync, process bdev here, since there is no easy
>> +	 * equivalent of is_sb_ve_accessible() for bdevs
>> +	 */
>> +	if (sarg->ve)
>> +		__sync_blockdev(sb->s_bdev, sarg->wait);
> 
> should we perhaps move it under some condition? (i.e. do not call it if sb_rdonly(sb) ) ?
> 
> sync_filesystem() does not call __sync_filesystem() in this case

Nice catch, will fix.


More information about the Devel mailing list