xref: /freebsd/sys/contrib/openzfs/lib/libzpool/zfs_racct.c (revision b1c1ee4429fcca8f69873a8be66184e68e1b19d7)
161145dc2SMartin Matuska // SPDX-License-Identifier: BSD-2-Clause
27a7741afSMartin Matuska /*
37a7741afSMartin Matuska  * Copyright (c) 2021 iXsystems, Inc.
47a7741afSMartin Matuska  *
57a7741afSMartin Matuska  * Redistribution and use in source and binary forms, with or without
67a7741afSMartin Matuska  * modification, are permitted provided that the following conditions
77a7741afSMartin Matuska  * are met:
87a7741afSMartin Matuska  * 1. Redistributions of source code must retain the above copyright
97a7741afSMartin Matuska  *    notice, this list of conditions and the following disclaimer.
107a7741afSMartin Matuska  * 2. Redistributions in binary form must reproduce the above copyright
117a7741afSMartin Matuska  *    notice, this list of conditions and the following disclaimer in the
127a7741afSMartin Matuska  *    documentation and/or other materials provided with the distribution.
137a7741afSMartin Matuska  *
147a7741afSMartin Matuska  * THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
157a7741afSMartin Matuska  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
167a7741afSMartin Matuska  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
177a7741afSMartin Matuska  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
187a7741afSMartin Matuska  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
197a7741afSMartin Matuska  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
207a7741afSMartin Matuska  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
217a7741afSMartin Matuska  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
227a7741afSMartin Matuska  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
237a7741afSMartin Matuska  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
247a7741afSMartin Matuska  * SUCH DAMAGE.
257a7741afSMartin Matuska  */
267a7741afSMartin Matuska 
277a7741afSMartin Matuska #include <sys/zfs_racct.h>
287a7741afSMartin Matuska 
297a7741afSMartin Matuska void
zfs_racct_read(spa_t * spa,uint64_t size,uint64_t iops,dmu_flags_t flags)30*b1c1ee44SMartin Matuska zfs_racct_read(spa_t *spa, uint64_t size, uint64_t iops, dmu_flags_t flags)
317a7741afSMartin Matuska {
327a7741afSMartin Matuska 	(void) spa, (void) size, (void) iops, (void) flags;
337a7741afSMartin Matuska }
347a7741afSMartin Matuska 
357a7741afSMartin Matuska void
zfs_racct_write(spa_t * spa,uint64_t size,uint64_t iops,dmu_flags_t flags)36*b1c1ee44SMartin Matuska zfs_racct_write(spa_t *spa, uint64_t size, uint64_t iops, dmu_flags_t flags)
377a7741afSMartin Matuska {
387a7741afSMartin Matuska 	(void) spa, (void) size, (void) iops, (void) flags;
397a7741afSMartin Matuska }
40