All of lore.kernel.org
 help / color / mirror / Atom feed
* UBIFS quota support
@ 2019-01-10 11:44 ` Sascha Hauer
  0 siblings, 0 replies; 22+ messages in thread
From: Sascha Hauer @ 2019-01-10 11:44 UTC (permalink / raw)
  To: linux-fsdevel
  Cc: Dongsheng Yang, Jan Kara, Richard Weinberger, Christoph Hellwig,
	linux-mtd, kernel

Hi all,

I'm currently working on resurrecting the UBIFS quota patches posted back in
2015 by Dongsheng Yang, last posted here:

http://lists.infradead.org/pipermail/linux-mtd/2015-September/061812.html

First of all I think work stopped there, there is no newer UBIFS quota
support I am missing, right?

One problem with this series was that the quotactl systemcall expects a
path to a block device. UBIFS doesn't work on a block device but on a
character device instead.
The solution in this series was to pass the path to the cdev in
quotactl.  A struct cdev * member was added to struct super_block which
was used to identify the superblock for a given cdev. This approach was
rejected by Christoph ("I don't think the cdev has any business in core
VFS code.").  Apart from that UBIFS can not only be mounted with a path
to the character device (mount -t ubifs /dev/ubix_y /mnt) but also in
the form ubix:volname (mount -t ubifs ubix:volname /mnt) in which case
userspace doesn't have any valid path it could pass in quotactl.

An idea out of this would be to allow to pass the mountpoint instead of
the path to the block device in quotactl which would work with nfs or
even tmpfs aswell. Would that be acceptable? Any other ideas?

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

end of thread, other threads:[~2019-01-31  7:37 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-10 11:44 UBIFS quota support Sascha Hauer
2019-01-10 11:44 ` Sascha Hauer
2019-01-22 23:07 ` Richard Weinberger
2019-01-22 23:07   ` Richard Weinberger
2019-01-23  9:43   ` Sascha Hauer
2019-01-23  9:43     ` Sascha Hauer
2019-01-23  9:46     ` Richard Weinberger
2019-01-23  9:46       ` Richard Weinberger
2019-01-23  9:55       ` Sascha Hauer
2019-01-23  9:55         ` Sascha Hauer
2019-01-23 10:47         ` Richard Weinberger
2019-01-23 10:47           ` Richard Weinberger
2019-01-23 15:47   ` Jan Kara
2019-01-23 15:47     ` Jan Kara
2019-01-25  9:21     ` Sascha Hauer
2019-01-25  9:21       ` Sascha Hauer
2019-01-28  8:09       ` Christoph Hellwig
2019-01-28  8:09         ` Christoph Hellwig
2019-01-30 12:45       ` Jan Kara
2019-01-30 12:45         ` Jan Kara
2019-01-31  7:37         ` Sascha Hauer
2019-01-31  7:37           ` Sascha Hauer

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.