Re: Question about GENHD_FL_REMOVABLE flag for eMMC cards...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



aparna m wrote:
 Hello,

I see a comment in the MMC block layer  drivers/mmc/card/block.c that
GENHD_FL_REMOVABLE  should not be set for MMC block devices.
How about the case of eMMC cards that are embedded on the chip.
In that case, the eMMC card cannot be removed nor inserted and so the
block device also cannot be removed.
I guess eMMC falls under the case that it is a permanent block device
and a permanent media.

How should this be set for this case? Please correct me if I am wrong.

Mostly it is an issue with unsafe resume (see CONFIG_MMC_UNSAFE_RESUME)

There is mmc_assume_removable module parameter (see drivers/mmc/core/core.c)

And there is the mmc_host capability flag MMC_CAP_NONREMOVABLE (see
include/linux/mmc/host.h)

Thanks,
Aparna.
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux