summaryrefslogtreecommitdiffstats
path: root/Documentation/phy
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2017-08-20 23:39:08 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2017-08-30 15:03:39 +0200
commit627c3ccfb46ada2583eac434127ad5d75e1ac33c (patch)
tree0b47d6c685823ff30e76fc50a4f8cf43b5125307 /Documentation/phy
parent1bee324a5627ab05ff9899709a613b8739813eda (diff)
downloadlinux-stable-627c3ccfb46ada2583eac434127ad5d75e1ac33c.tar.gz
linux-stable-627c3ccfb46ada2583eac434127ad5d75e1ac33c.tar.bz2
linux-stable-627c3ccfb46ada2583eac434127ad5d75e1ac33c.zip
mmc: debugfs: Move block debugfs into block module
If we don't have the block layer enabled, we do not present card status and extcsd in the debugfs. Debugfs is not ABI, and maintaining files of no relevance for non-block devices comes at a high maintenance cost if we shall support it with the block layer compiled out. The debugfs entries suffer from all the same starvation issues as the other userspace things, under e.g. a heavy dd operation. The expected number of debugfs users utilizing these two debugfs files is already low as there is an ioctl() to get the same information using the mmc-tools, and of these few users the expected number of people using it on SDIO or combo cards are expected to be zero. It is therefore logical to move this over to the block layer when it is enabled, using the new custom requests and issue it using the block request queue. On the other hand it moves some debugfs code from debugfs.c and into block.c. Tested during heavy dd load by cat:in the status file. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'Documentation/phy')
0 files changed, 0 insertions, 0 deletions