search for: async_flush

Displaying 5 results from an estimated 5 matches for "async_flush".

2018 Jan 19
2
Re: [nbdkit PATCH v2 13/13] RFC: plugins: Add callbacks for FUA semantics
...(void *handle, uint32_t count, uint64_t offset, int may_trim); int errno_is_preserved; void (*async_pread) (void *op, void *handle, void *buf, uint32_t count, uint64_t offset); void (*async_pwrite) (void *op, void *handle, const void *buf, uint32_t count, uint64_t offset, int fua); void (*async_flush) (void *op, void *handle); void (*async_trim) (void *op, void *handle, uint32_t count, uint64_t offset, int fua); void (*async_zero) (void *op, void *handle, uint32_t count, uint64_t offset, int may_trim, int fua); ... } Additionally there are a few helper functions for the plugin to use to...
2018 Jan 19
0
Re: [nbdkit PATCH v2 13/13] RFC: plugins: Add callbacks for FUA semantics
...offset, int may_trim); > > int errno_is_preserved; > > void (*async_pread) (void *op, void *handle, void *buf, uint32_t count, > uint64_t offset); > void (*async_pwrite) (void *op, void *handle, const void *buf, uint32_t > count, uint64_t offset, int fua); > void (*async_flush) (void *op, void *handle); > void (*async_trim) (void *op, void *handle, uint32_t count, uint64_t > offset, int fua); > void (*async_zero) (void *op, void *handle, uint32_t count, uint64_t > offset, int may_trim, int fua); > ... > } > > Additionally there are a few he...
2010 Mar 12
2
[PATCH] Btrfs: force delalloc flushing when things get desperate
...struct btrfs_reserved_space_pool *pool; @@ -2924,7 +2930,7 @@ static void wait_on_flush(struct btrfs_root *root, struct btrfs_space_info *info } static void flush_delalloc(struct btrfs_root *root, - struct btrfs_space_info *info) + struct btrfs_space_info *info, int soft) { struct async_flush *async; bool wait = false; @@ -2939,7 +2945,7 @@ static void flush_delalloc(struct btrfs_root *root, spin_unlock(&info->lock); if (wait) { - wait_on_flush(root, info); + wait_on_flush(root, info, soft); return; } @@ -2953,7 +2959,7 @@ static void flush_delalloc(struct btrfs_...
2018 Jan 19
2
Re: [nbdkit PATCH v2 13/13] RFC: plugins: Add callbacks for FUA semantics
...> int errno_is_preserved; > > > > void (*async_pread) (void *op, void *handle, void *buf, uint32_t count, > > uint64_t offset); > > void (*async_pwrite) (void *op, void *handle, const void *buf, uint32_t > > count, uint64_t offset, int fua); > > void (*async_flush) (void *op, void *handle); > > void (*async_trim) (void *op, void *handle, uint32_t count, uint64_t > > offset, int fua); > > void (*async_zero) (void *op, void *handle, uint32_t count, uint64_t > > offset, int may_trim, int fua); > > ... > > } > > &g...
2018 Jan 19
16
[nbdkit PATCH v2 00/13] Add filters + FUA support to nbdkit
A combination of the work that both Rich and I have been doing lately, where filters use only the new API with flags on every command that the client can send over the wire (we can then add support for more flags in nbdkit without having to add new callbacks, as NBD adds more flags upstream). Eric Blake (4): protocol: Split flags from cmd field in requests backend: Pass flags argument through