Select the types of activity you want to include in your feed.
Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block
* 'for-linus' of git://git.kernel.dk/linux-2.6-block: block: don't merge requests of different failfast settings cciss: Ignore stale commands after reboot
···350350 if (blk_integrity_rq(req) != blk_integrity_rq(next))351351 return 0;352352353353+ /* don't merge requests of different failfast settings */354354+ if (blk_failfast_dev(req) != blk_failfast_dev(next) ||355355+ blk_failfast_transport(req) != blk_failfast_transport(next) ||356356+ blk_failfast_driver(req) != blk_failfast_driver(next))357357+ return 0;358358+353359 /*354360 * If we are allowed to merge, then append bio list355361 * from next to rq and release next. merge_requests_fn
+8
block/elevator.c
···100100 if (bio_integrity(bio) != blk_integrity_rq(rq))101101 return 0;102102103103+ /*104104+ * Don't merge if failfast settings don't match105105+ */106106+ if (bio_failfast_dev(bio) != blk_failfast_dev(rq) ||107107+ bio_failfast_transport(bio) != blk_failfast_transport(rq) ||108108+ bio_failfast_driver(bio) != blk_failfast_driver(rq))109109+ return 0;110110+103111 if (!elv_iosched_allow_merge(rq, bio))104112 return 0;105113
+13-2
drivers/block/cciss.c
···226226227227static inline void removeQ(CommandList_struct *c)228228{229229- if (WARN_ON(hlist_unhashed(&c->list)))229229+ /*230230+ * After kexec/dump some commands might still231231+ * be in flight, which the firmware will try232232+ * to complete. Resetting the firmware doesn't work233233+ * with old fw revisions, so we have to mark234234+ * them off as 'stale' to prevent the driver from235235+ * falling over.236236+ */237237+ if (WARN_ON(hlist_unhashed(&c->list))) {238238+ c->cmd_type = CMD_MSG_STALE;230239 return;240240+ }231241232242 hlist_del_init(&c->list);233243}···42564246 while (!hlist_empty(&h->cmpQ)) {42574247 c = hlist_entry(h->cmpQ.first, CommandList_struct, list);42584248 removeQ(c);42594259- c->err_info->CommandStatus = CMD_HARDWARE_ERR;42494249+ if (c->cmd_type != CMD_MSG_STALE)42504250+ c->err_info->CommandStatus = CMD_HARDWARE_ERR;42604251 if (c->cmd_type == CMD_RWREQ) {42614252 complete_command(h, c, 0);42624253 } else if (c->cmd_type == CMD_IOCTL_PEND)
+1
drivers/block/cciss_cmd.h
···274274#define CMD_SCSI 0x03275275#define CMD_MSG_DONE 0x04276276#define CMD_MSG_TIMEOUT 0x05277277+#define CMD_MSG_STALE 0xff277278278279/* This structure needs to be divisible by 8 for new279280 * indexing method.