Deleted Added
full compact
dmu.c (249195) dmu.c (251478)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 9 unchanged lines hidden (view full) ---

18 *
19 * CDDL HEADER END
20 */
21/*
22 * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
23 * Copyright (c) 2013 by Delphix. All rights reserved.
24 */
25
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 9 unchanged lines hidden (view full) ---

18 *
19 * CDDL HEADER END
20 */
21/*
22 * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
23 * Copyright (c) 2013 by Delphix. All rights reserved.
24 */
25
26/* Copyright (c) 2013 by Saso Kiselkov. All rights reserved. */
27
26#include <sys/dmu.h>
27#include <sys/dmu_impl.h>
28#include <sys/dmu_tx.h>
29#include <sys/dbuf.h>
30#include <sys/dnode.h>
31#include <sys/zfs_context.h>
32#include <sys/dmu_objset.h>
33#include <sys/dmu_traverse.h>

--- 1475 unchanged lines hidden (view full) ---

1509
1510 dsa = kmem_alloc(sizeof (dmu_sync_arg_t), KM_SLEEP);
1511 dsa->dsa_dr = dr;
1512 dsa->dsa_done = done;
1513 dsa->dsa_zgd = zgd;
1514 dsa->dsa_tx = NULL;
1515
1516 zio_nowait(arc_write(pio, os->os_spa, txg,
28#include <sys/dmu.h>
29#include <sys/dmu_impl.h>
30#include <sys/dmu_tx.h>
31#include <sys/dbuf.h>
32#include <sys/dnode.h>
33#include <sys/zfs_context.h>
34#include <sys/dmu_objset.h>
35#include <sys/dmu_traverse.h>

--- 1475 unchanged lines hidden (view full) ---

1511
1512 dsa = kmem_alloc(sizeof (dmu_sync_arg_t), KM_SLEEP);
1513 dsa->dsa_dr = dr;
1514 dsa->dsa_done = done;
1515 dsa->dsa_zgd = zgd;
1516 dsa->dsa_tx = NULL;
1517
1518 zio_nowait(arc_write(pio, os->os_spa, txg,
1517 bp, dr->dt.dl.dr_data, DBUF_IS_L2CACHEABLE(db), &zp,
1518 dmu_sync_ready, dmu_sync_done, dsa,
1519 ZIO_PRIORITY_SYNC_WRITE, ZIO_FLAG_CANFAIL, &zb));
1519 bp, dr->dt.dl.dr_data, DBUF_IS_L2CACHEABLE(db),
1520 DBUF_IS_L2COMPRESSIBLE(db), &zp, dmu_sync_ready, dmu_sync_done,
1521 dsa, ZIO_PRIORITY_SYNC_WRITE, ZIO_FLAG_CANFAIL, &zb));
1520
1521 return (0);
1522}
1523
1524int
1525dmu_object_set_blocksize(objset_t *os, uint64_t object, uint64_t size, int ibs,
1526 dmu_tx_t *tx)
1527{

--- 322 unchanged lines hidden ---
1522
1523 return (0);
1524}
1525
1526int
1527dmu_object_set_blocksize(objset_t *os, uint64_t object, uint64_t size, int ibs,
1528 dmu_tx_t *tx)
1529{

--- 322 unchanged lines hidden ---