All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-devel] [BUG Report] -EIO error when reloading table
@ 2021-01-21 12:14 JeffleXu
  0 siblings, 0 replies; only message in thread
From: JeffleXu @ 2021-01-21 12:14 UTC (permalink / raw)
  To: Mike Snitzer; +Cc: Joseph Qi, device-mapper development

Hi, Mike,

I got "attempt to access beyond end of device
dm-0: rw=0, want=3129056, limit=2097152" error when I was reloading the
table of dm-0, while there's a background **direct** IO on dm-0 (no fs
on it, i.e., just raw device) meanwhile.

It seems that it fails bio_check_eod() in submit_bio().

But when I formatted one ext4 filesystem on dm-0, and the background IO
pressure is redirected to one file inside the ext4 filesystem, I didn't
encounter this error anymore when I reload dm-0. I think it's because
the filesystem gets frozen since lock_fs() in __dm_suspend().

So is this a known issue?


-- 
Thanks,
Jeffle

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-22  8:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-21 12:14 [dm-devel] [BUG Report] -EIO error when reloading table JeffleXu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.