[PATCH RFC 0/3] fs: tftp: don't use cached dentries

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

 



I often mistype the name of files I place into the TFTP server's root
directory. When barebox does a TFTP lookup for the correct file name and
doesn't find it, it refuses to look it up again. I'd argue the better
user experience for TFTP in particular would be to not use the dcache
altogether. Not sure if other networked file systems should follow suit,
as staleness means faster acceses, but lets do this for TFTP now.

The file is still placed and invalidated from the cache though, but
compared to the network access before, it's negligible overhead.

Ahmad Fatoum (3):
  fs: tftp: remove duplicate header
  fs: provide no_revalidate_d_ops for network file systems
  fs: tftp: don't maintain tftp dentries in dcache

 fs/fs.c                | 9 +++++++++
 fs/tftp.c              | 2 +-
 include/linux/dcache.h | 2 ++
 3 files changed, 12 insertions(+), 1 deletion(-)

-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux