Question about doing umount when disk fails

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

 



HI all,

We found a problem when umount an ext4 partition, if at the same time,
disk fails, the umount process will stay at uninterrupt sleep status
and flush thread will be blocked.

As I know, when doing umount, the filesystem will sync all changes in
memory back to disk through SYNC IO, if the disk fails, the io request
can not finish.

My question is: Could the sync operation notice the IO errors on disk
and cancel itself. So the flush thread will not be blocked and umount
process will exit with an error code.

This may also affect the process of write back, so I add fengguang and viro.

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


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux