linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* oh the joy of swap files
@ 2016-05-26 13:02 Christoph Hellwig
  2016-05-26 13:02 ` [PATCH] xfs: fail ->bmap for reflink inodes Christoph Hellwig
  0 siblings, 1 reply; 5+ messages in thread
From: Christoph Hellwig @ 2016-05-26 13:02 UTC (permalink / raw)
  To: darrick.wong; +Cc: xfs, linux-mm

Quirk out of ->bmap for reflink inodes because the swap code still
believes it's a good idea to blindly bypass the fs if it exists.

This is a bit of a crude hack, but without redesigning how swapfiles
work we can't really do very much better.  Except for a real error
code from ->bmap, but that's a bit like putting lipstick on a pig..

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-05-27 17:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-26 13:02 oh the joy of swap files Christoph Hellwig
2016-05-26 13:02 ` [PATCH] xfs: fail ->bmap for reflink inodes Christoph Hellwig
2016-05-27  4:11   ` Darrick J. Wong
2016-05-27 17:32   ` Avi Kivity
2016-05-27 17:40     ` Darrick J. Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox