Thanks. That would be my fault. I forgot to remove the comment. I'll file a bug.
Neil. Pawel Jakub Dawidek wrote On 03/15/07 10:59,: > ZVOL was recently converted to use range locking, but it seems the > comment below wasn't updated: > > /* > * There must be no buffer changes when doing a dmu_sync() > * because > * we can't change the data whilst calculating the checksum. > * A better approach than a per zvol rwlock would be to lock > * ranges. > */ > > > > ------------------------------------------------------------------------ > > _______________________________________________ > zfs-code mailing list > zfs-code at opensolaris.org > http://opensolaris.org/mailman/listinfo/zfs-code