'It forces the kernel buffer to be written to disk. Use when you\'re sure that you need to.'

def fsync(self):

    self.__not_opened()
    for index in self.indexes:
        index.flush()
        index.fsync()
