On 2016-11-03 10:21, Peter Becker wrote:
(copy for mainlinglist)
2016-11-03 15:16 GMT+01:00 Дмитрий Нечаев <d.nechaev@xxxxxxxxxxx>:
Yes. We tried "sync" in our script but it doesn't help. It works only
then we make one snapshot at a time. Even if we use "sync" before and
after creating snapshot, it doesn't help.
You might try 'btrfs filesystem sync' called on the filesystem the
snapshots are being created on. This works differently from the sync()
syscall used by regular 'sync', and as a result forces metadata out as
well as regular data (and it's almost certainly a metadata issue you are
seeing), and it won't have as much impact on the rest of the system.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html