cvs commit: src/sys/contrib/opensolaris/uts/common/fs/zfs zvol.c

Niki Denev nike_d at cytexbg.com
Thu Nov 1 09:30:53 PDT 2007


On 11/1/07, Pawel Jakub Dawidek <pjd at freebsd.org> wrote:
> pjd         2007-11-01 11:04:21 UTC
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/contrib/opensolaris/uts/common/fs/zfs zvol.c
>   Log:
>   Call zil_commit() (if ZIL is not disabled) after every non-read request
>   (BIO_WRITE and BIO_FLUSH) as it is done is Solaris. The difference is
>   that Solaris calls it only for sync requests, but we can't say in GEOM
>   is the request is sync or async, so we do it for every request.

I'm just curious if this isn't this going to hurt the performance
slightly, and make Zfs/Zil behave as regular journaled fs?
I've also read somewehere (afair some sun developers blog) that there
are some problems with writing of Zlogs that can lead to
fragmentation, which they are avoiding with using spearate device for
ZIL.

-- 
Niki


More information about the cvs-src mailing list