From 27b340d97773579f9760dc70c34d59ed44d46bf3 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Thu, 4 Jul 2013 07:57:07 +0300 Subject: [PATCH] BmapCopy: fix-up a commentary Wrap a very long line which appeared after PEP8-nization. Change-Id: I0ba4ffdc835fc957fe6cea7b968b2b88af4206d7 Signed-off-by: Artem Bityutskiy --- bmaptools/BmapCopy.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bmaptools/BmapCopy.py b/bmaptools/BmapCopy.py index 608e8d2..7865d0d 100644 --- a/bmaptools/BmapCopy.py +++ b/bmaptools/BmapCopy.py @@ -643,7 +643,9 @@ class BmapBdevCopy(BmapCopy): def copy(self, sync = True, verify = True): """ - The same as in the base class but tunes the block device for better performance before starting writing. Additionally, it forces block device synchronization from time to time in order to make sure we do + The same as in the base class but tunes the block device for better + performance before starting writing. Additionally, it forces block + device synchronization from time to time in order to make sure we do not get stuck in 'fsync()' for too long time. The problem is that the kernel synchronizes block devices when the file is closed. And the result is that if the user interrupts us while we are copying the data, -- 2.7.4