# # Kbuild for top-level directory of the kernel # This file takes care of the following: # 1) Generate asm-offsets.h # 2) Check for missing system calls ##### # 1) Generate asm-offsets.h # offsets-file := include/asm-$(ARCH)/asm-offsets.h always := $(offsets-file) targets := $(offsets-file) targets += arch/$(ARCH)/kernel/asm-offsets.s # Default sed regexp - multiline due to syntax constraints define sed-y "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; s:->::; p;}" endef # Override default regexp for specific architectures sed-$(CONFIG_MIPS) := "/^@@@/{s/^@@@//; s/ \#.*\$$//; p;}" quiet_cmd_offsets = GEN $@ define cmd_offsets (set -e; \ echo "#ifndef __ASM_OFFSETS_H__"; \ echo "#define __ASM_OFFSETS_H__"; \ echo "/*"; \ echo " * DO NOT MODIFY."; \ echo " *"; \ echo " * This file was generated by Kbuild"; \ echo " *"; \ echo " */"; \ echo ""; \ sed -ne $(sed-y) $<; \ echo ""; \ echo "#endif" ) > $@ endef # We use internal kbuild rules to avoid the "is up to date" message from make arch/$(ARCH)/kernel/asm-offsets.s: arch/$(ARCH)/kernel/asm-offsets.c FORCE $(Q)mkdir -p $(dir $@) $(call if_changed_dep,cc_s_c) $(obj)/$(offsets-file): arch/$(ARCH)/kernel/asm-offsets.s Kbuild $(Q)mkdir -p $(dir $@) $(call cmd,offsets) ##### # 2) Check for missing system calls # quiet_cmd_syscalls = CALL $< cmd_syscalls = $(CONFIG_SHELL) $< $(CC) $(c_flags) PHONY += missing-syscalls missing-syscalls: scripts/checksyscalls.sh FORCE $(call cmd,syscalls) d66e73'>refslogtreecommitdiff
path: root/drivers/md/multipath.c
AgeCommit message (Expand)AuthorFilesLines
2017-08-23block: replace bi_bdev with a gendisk pointer and partitions indexChristoph Hellwig1-4/+4
2017-07-08Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/mdLinus Torvalds1-4/+4
2017-06-13md: fix deadlock between mddev_suspend() and md_write_start()NeilBrown1-4/+4
2017-06-09block: switch bios to blk_status_tChristoph Hellwig1-5/+5
2017-04-08md: support REQ_OP_WRITE_ZEROESChristoph Hellwig1-0/+1
2017-02-24Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/mdLinus Torvalds1-0/+1
2017-02-13md: disable WRITE SAME if it fails in underlayer disksShaohua Li1-0/+1
2017-02-02block: Use pointer to backing_dev_info from request_queueJan Kara1-1/+1
2016-12-13Merge branch 'md-next' into md-linusShaohua Li1-58/+34
2016-12-08md: separate flags for superblock changesShaohua Li1-1/+1
2016-11-22block: bio: pass bvec table to bio_init()Ming Lei1-1/+1
2016-11-07md/multipath: replace printk() with pr_*()NeilBrown1-57/+33
2016-08-07block: rename bio bi_rw to bi_opfJens Axboe1-4/+4
2016-07-28Merge branch 'mymd/for-next' into mymd/for-linusShaohua Li1-12/+17
2016-06-13md: reduce the number of synchronize_rcu() calls when multiple devices fail.NeilBrown1-6/+8
2016-06-13md: be extra careful not to take a reference to a Faulty device.NeilBrown1-1/+2
2016-06-13md/multipath: add rcu protection to rdev access in multipath_status.NeilBrown1-5/+7
2016-06-07block, drivers, fs: rename REQ_FLUSH to REQ_PREFLUSHMike Christie1-1/+1
2016-03-14md: multipath: don't hardcopy bio in .make_request pathMing Lei1-1/+3
2016-01-14md/raid: only permit hot-add of compatible integrity profilesDan Williams1-3/+3