[PATCH 0/2] bcache: set dc->writebacking_running properly

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

 



Set dc->writebacking_running only after writeback kthread created.
And check value of writeback_running set via sysfs against if writeback
kthread already created or not.


Shenghui Wang (2):
  bcache: do not mark writeback_running until backing dev attached to
    cache_set
  bcache: cannot set writeback_running via sysfs if no writeback kthread
    created

 drivers/md/bcache/sysfs.c     | 26 ++++++++++++++++++++++++--
 drivers/md/bcache/writeback.c |  3 ++-
 2 files changed, 26 insertions(+), 3 deletions(-)

-- 
2.18.0





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux