Skip to content

Commit

Permalink
zvol state locking: refinements for scalability
Browse files Browse the repository at this point in the history
References:
openzfs#2479
openzfs@79c76d5 (Change KM_PUSHPAGE -> KM_SLEEP)

@@ __zvol_create_minor(const char *name)

    doi = kmem_alloc(sizeof (dmu_object_info_t), KM_PUSHPAGE);

    [replaced with]

    doi = kmem_alloc(sizeof (dmu_object_info_t), KM_SLEEP);

    Caused by

    79c76d5
    Change KM_PUSHPAGE -> KM_SLEEP
    (upstream sync).

Fixing cstyle errors:

space or tab at end of line

indent by spaces instead of tabs

missing space between keyword and paren

unparenthesized return expression
  • Loading branch information
bprotopopov authored and kernelOfTruth committed Aug 19, 2015
1 parent 4b65bb8 commit 3c1758e
Showing 1 changed file with 410 additions and 133 deletions.
Loading

0 comments on commit 3c1758e

Please sign in to comment.