Re: [PATCH] Btrfs: fix BUG_ON in btrfs_submit_compressed_write

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

 



On Wed, Jun 22, 2016 at 06:32:06PM -0700, Liu Bo wrote:
> This is similar to btrfs_submit_compressed_read(), if we fail after
> bio is allocated, then we can use bio_endio() and errors are saved
>  in bio->bi_error.  But please note that we don't return errors to
> its caller because the caller assumes it won't call endio to cleanup
> on error.

This sounds strange, where do we notice that some of the bios failed?
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux