Pull block driver changes from Jens Axboe: "Nothing out of the ordinary here, this pull request contains: - A big round of fixes for bcache from Kent Overstreet, Slava Pestov, and Surbhi Palande. No new features, just a lot of fixes. - The usual round of drbd updates from Andreas Gruenbacher, Lars Ellenberg, and Philipp Reisner. - virtio_blk was converted to blk-mq back in 3.13, but now Ming Lei has taken it one step further and added support for actually using more than one queue. - Addition of an explicit SG_FLAG_Q_AT_HEAD for block/bsg, to compliment the the default behavior of adding to the tail of the queue. From Douglas Gilbert" * 'for-3.17/drivers' of git://git.kernel.dk/linux-block: (86 commits) bcache: Drop unneeded blk_sync_queue() calls bcache: add mutex lock for bch_is_open bcache: Correct printing of btree_gc_max_duration_ms bcache: try to set b->parent properly bcache: fix memory corruption in init error path bcache: fix crash with incomplete cache set bcache: Fix more early shutdown bugs bcache: fix use-after-free in btree_gc_coalesce() bcache: Fix an infinite loop in journal replay bcache: fix crash in bcache_btree_node_alloc_fail tracepoint bcache: bcache_write tracepoint was crashing bcache: fix typo in bch_bkey_equal_header bcache: Allocate bounce buffers with GFP_NOWAIT bcache: Make sure to pass GFP_WAIT to mempool_alloc() bcache: fix uninterruptible sleep in writeback thread bcache: wait for buckets when allocating new btree root bcache: fix crash on shutdown in passthrough mode bcache: fix lockdep warnings on shutdown bcache allocator: send discards with correct size bcache: Fix to remove the rcu_sched stalls. ...
Showing the changes to include/linux (3 of 39 files). Show all
Unified · Split
| @@ -52,7 +52,7 @@ · 51 unmodified lines | ||
| 52 | 52 | #endif |
| 53 | 53 | |
| 54 | 54 | extern const char *drbd_buildtag(void); |
| 55 | −#define REL_VERSION "8.4.3" | |
| 55 | +#define REL_VERSION "8.4.5" | |
| 56 | 56 | #define API_VERSION 1 |
| 57 | 57 | #define PRO_VERSION_MIN 86 |
| 58 | 58 | #define PRO_VERSION_MAX 101 |
| @@ -245,7 +245,7 @@ enum drbd_disk_state { · 186 unmodified lines | ||
| 245 | 245 | D_DISKLESS, |
| 246 | 246 | D_ATTACHING, /* In the process of reading the meta-data */ |
| 247 | 247 | D_FAILED, /* Becomes D_DISKLESS as soon as we told it the peer */ |
| 248 | − /* when >= D_FAILED it is legal to access mdev->bc */ | |
| 248 | + /* when >= D_FAILED it is legal to access mdev->ldev */ | |
| 249 | 249 | D_NEGOTIATING, /* Late attaching state, we need to talk to the peer */ |
| 250 | 250 | D_INCONSISTENT, |
| 251 | 251 | D_OUTDATED, |
| @@ -171,6 +171,10 @@ GENL_struct(DRBD_NLA_NET_CONF, 5, net_conf, · 170 unmodified lines | ||
| 171 | 171 | __flg_field(28, DRBD_GENLA_F_MANDATORY | DRBD_F_INVARIANT, tentative) |
| 172 | 172 | __flg_field_def(29, DRBD_GENLA_F_MANDATORY, use_rle, DRBD_USE_RLE_DEF) |
| 173 | 173 | /* 9: __u32_field_def(30, DRBD_GENLA_F_MANDATORY, fencing_policy, DRBD_FENCING_DEF) */ |
| 174 | + /* 9: __str_field_def(31, DRBD_GENLA_F_MANDATORY, name, SHARED_SECRET_MAX) */ | |
| 175 | + /* 9: __u32_field(32, DRBD_F_REQUIRED | DRBD_F_INVARIANT, peer_node_id) */ | |
| 176 | + __flg_field_def(33, 0 /* OPTIONAL */, csums_after_crash_only, DRBD_CSUMS_AFTER_CRASH_ONLY_DEF) | |
| 177 | + __u32_field_def(34, 0 /* OPTIONAL */, sock_check_timeo, DRBD_SOCKET_CHECK_TIMEO_DEF) | |
| 174 | 178 | ) |
| 175 | 179 | |
| 176 | 180 | GENL_struct(DRBD_NLA_SET_ROLE_PARMS, 6, set_role_parms, |
| @@ -214,6 +214,7 @@ · 213 unmodified lines | ||
| 214 | 214 | #define DRBD_ALLOW_TWO_PRIMARIES_DEF 0 |
| 215 | 215 | #define DRBD_ALWAYS_ASBP_DEF 0 |
| 216 | 216 | #define DRBD_USE_RLE_DEF 1 |
| 217 | +#define DRBD_CSUMS_AFTER_CRASH_ONLY_DEF 0 | |
| 217 | 218 | |
| 218 | 219 | #define DRBD_AL_STRIPES_MIN 1 |
| 219 | 220 | #define DRBD_AL_STRIPES_MAX 1024 |
| @@ -224,4 +225,9 @@ · 4 unmodified lines | ||
| 224 | 225 | #define DRBD_AL_STRIPE_SIZE_MAX 16777216 |
| 225 | 226 | #define DRBD_AL_STRIPE_SIZE_DEF 32 |
| 226 | 227 | #define DRBD_AL_STRIPE_SIZE_SCALE 'k' /* kilobytes */ |
| 228 | + | |
| 229 | +#define DRBD_SOCKET_CHECK_TIMEO_MIN 0 | |
| 230 | +#define DRBD_SOCKET_CHECK_TIMEO_MAX DRBD_PING_TIMEO_MAX | |
| 231 | +#define DRBD_SOCKET_CHECK_TIMEO_DEF 0 | |
| 232 | +#define DRBD_SOCKET_CHECK_TIMEO_SCALE '1' | |
| 227 | 233 | #endif |