This patchset adds the update of the ext_csd structure when reading the estimated life time, pre-eol info or reliable write setting from sysfs. Based on https://www.spinics.net/lists/linux-mmc/msg56424.html The reason for this patchset resides in devices running 24/7. The mmc estimated life time values, pre-eol info and reliable write setting values were only read at start-up and were not updated on sysfs read. Thus, these patches add the rel_param, rel_write_set to sysfs and perform an update of the EXT_CSD structure when reading form sysfs one of the values device_life_time_est_typ_a, device_life_time_est_typ_b, pre_eol_info or rel_write_set. Marc Mattmueller (2): mmc: core: update life time and pre eol info values on sysfs read mmc: core: add reliable write setting to sysfs and update on read drivers/mmc/core/mmc.c | 116 +++++++++++++++++++++++++++++++++++++-- include/linux/mmc/card.h | 1 + include/linux/mmc/mmc.h | 1 + 3 files changed, 114 insertions(+), 4 deletions(-) -- 2.20.1