Re: Performance Issue

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


You probably shouldnt remove fsync() completely,
but make sure that you have fsync() called at least from the
WriteFilemark emulation.

That would mean that if the backup finished successfully, that final
write is followed by a single fsync() call so that if
WRITE, WRITE, ... WRITEFILEMARK has completed successfully you know
the data is safe on stable storage.
But you dont pay the price for fsync() on each data write.

regards
ronnie sahlberg


On Fri, Dec 9, 2011 at 7:33 AM, Gabriele <gabriele.mailing@xxxxxxxxxxx> wrote:
> After removing fsync(fd), I tried to wrote and read some tape images: all
> went good.
> I think it would be useful to add an option to tgtd or to the device created
> that allows skipping fsync(fd), remembering that is a performance goodie,
> but not so safe ...
>
> --
> Gabriele
>
> --
> To unsubscribe from this list: send the line "unsubscribe stgt" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [XFree86]     [Video Devices]

Add to Google Powered by Linux